Revision: 13786
          http://sourceforge.net/p/skim-app/code/13786
Author:   hofman
Date:     2023-11-20 15:22:33 +0000 (Mon, 20 Nov 2023)
Log Message:
-----------
invert condition when reloading pdf

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2023-11-20 15:18:36 UTC (rev 13785)
+++ trunk/SKMainWindowController.m      2023-11-20 15:22:33 UTC (rev 13786)
@@ -1183,7 +1183,7 @@
             if ([pdfDocument isLocked] && ([self interactionMode] == 
SKNormalMode || [self interactionMode] == SKFullScreenMode)) {
                 [savedNormalSetup setObject:[NSNumber 
numberWithUnsignedInteger:pageIndex] forKey:PAGEINDEX_KEY];
             } else {
-                [pdfView goToPageAtIndex:pageIndex point:rotated ? point : 
SKUnspecifiedPoint];
+                [pdfView goToPageAtIndex:pageIndex point:rotated ? 
SKUnspecifiedPoint : point];
             }
         }
         if (secondaryPageIndex != NSNotFound) {
@@ -1191,7 +1191,7 @@
                 secondaryPageIndex = [pdfDocument pageCount] - 1;
                 secondaryPoint = SKUnspecifiedPoint;
             }
-            [secondaryPdfView goToPageAtIndex:secondaryPageIndex 
point:secondaryRotated ? secondaryPoint : SKUnspecifiedPoint];
+            [secondaryPdfView goToPageAtIndex:secondaryPageIndex 
point:secondaryRotated ? SKUnspecifiedPoint : secondaryPoint];
         }
         [pdfView resetHistory];
     }

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