Revision: 14230
http://sourceforge.net/p/skim-app/code/14230
Author: hofman
Date: 2024-04-22 16:42:07 +0000 (Mon, 22 Apr 2024)
Log Message:
-----------
clear savedNormalSetup after checking tab to restore
Modified Paths:
--------------
trunk/SKMainWindowController_FullScreen.m
Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m 2024-04-22 15:00:36 UTC (rev
14229)
+++ trunk/SKMainWindowController_FullScreen.m 2024-04-22 16:42:07 UTC (rev
14230)
@@ -523,12 +523,8 @@
if ([self hasOverview])
[overviewContentView removeFromSuperview];
- NSWindowTabGroup *tabGroup = [savedNormalSetup objectForKey:TABGROUP_KEY];
- NSUInteger tabIndex = [[savedNormalSetup objectForKey:TABINDEX_KEY]
unsignedIntegerValue];
-
[self exitPresentationMode];
[self applyPDFSettings:savedNormalSetup rewind:YES];
- [savedNormalSetup removeAllObjects];
[pdfView layoutDocumentView];
[pdfView requiresDisplay];
@@ -551,12 +547,16 @@
if (covered)
[mainWindow setAlphaValue:1.0];
+ NSWindowTabGroup *tabGroup = [savedNormalSetup objectForKey:TABGROUP_KEY];
if ([[tabGroup windows] count]) {
+ NSUInteger tabIndex = [[savedNormalSetup objectForKey:TABINDEX_KEY]
unsignedIntegerValue];
covered = NO;
[mainWindow setAlphaValue:1.0];
[tabGroup insertWindow:mainWindow atIndex:MIN(tabIndex, [[tabGroup
windows] count])];
}
+ [savedNormalSetup removeAllObjects];
+
[NSAnimationContext runAnimationGroup:^(NSAnimationContext *context) {
[context setDuration:PRESENTATION_DURATION];
[context setTimingFunction:[CAMediaTimingFunction
functionWithName:kCAMediaTimingFunctionEaseInEaseOut]];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit