Revision: 16110
          http://sourceforge.net/p/skim-app/code/16110
Author:   hofman
Date:     2026-03-26 14:58:59 +0000 (Thu, 26 Mar 2026)
Log Message:
-----------
make sure page location is set consistently

Modified Paths:
--------------
    trunk/SKMainWindowController.m

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2026-03-26 14:55:44 UTC (rev 16109)
+++ trunk/SKMainWindowController.m      2026-03-26 14:58:59 UTC (rev 16110)
@@ -600,6 +600,8 @@
         if ([[pdfView document] isLocked]) {
             NSArray *snapshotSetups = [savedNormalSetup 
objectForKey:SNAPSHOTS_KEY];
             [savedNormalSetup addEntriesFromDictionary:setup];
+            if ([setup objectForKey:SCROLLPOINT_KEY] == nil)
+                [savedNormalSetup removeObjectForKey:SCROLLPOINT_KEY];
             if (applySidePaneWidths)
                 [savedNormalSetup 
removeObjectsForKeys:@[LEFTSIDEPANEWIDTH_KEY, RIGHTSIDEPANEWIDTH_KEY]];
             if ([self interactionMode] != SKFullScreenMode)

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

Reply via email to