Revision: 16648
          http://sourceforge.net/p/skim-app/code/16648
Author:   hofman
Date:     2026-10-11 17:02:33 +0000 (Sun, 11 Oct 2026)
Log Message:
-----------
fix scrolling also in horizontal mode

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

Modified: trunk/SKBasePDFView.m
===================================================================
--- trunk/SKBasePDFView.m       2026-10-11 15:57:00 UTC (rev 16647)
+++ trunk/SKBasePDFView.m       2026-10-11 17:02:33 UTC (rev 16648)
@@ -450,8 +450,8 @@
             [clipView scrollToPoint:bounds.origin];
             [scrollView reflectScrolledClipView:clipView];
         }
-    } else if ([self displayDirection] == kPDFDisplayDirectionVertical && 
([self displayMode] & kPDFDisplaySinglePageContinuous)) {
-        [self scrollToPage:page horizontally:NO vertically:YES];
+    } else if (([self displayMode] & kPDFDisplaySinglePageContinuous)) {
+        [self scrollToPage:page horizontally:[self displayDirection] == 
kPDFDisplayDirectionHorizontal vertically:[self displayDirection] == 
kPDFDisplayDirectionVertical];
     }
 }
 

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