Revision: 16639
          http://sourceforge.net/p/skim-app/code/16639
Author:   hofman
Date:     2026-10-09 16:49:07 +0000 (Fri, 09 Oct 2026)
Log Message:
-----------
check expected key direction first

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

Modified: trunk/SKBasePDFView.m
===================================================================
--- trunk/SKBasePDFView.m       2026-10-09 09:24:22 UTC (rev 16638)
+++ trunk/SKBasePDFView.m       2026-10-09 16:49:07 UTC (rev 16639)
@@ -514,7 +514,7 @@
         scrollView = [self embeddedScrollView];
         clipView = [scrollView contentView];
         bounds = [clipView bounds];
-    } else if ((keyDirection == -1 ? [self canGoToPreviousPage] : keyDirection 
== 1 ? [self canGoToNextPage] : NO)) {
+    } else if ((keyDirection == 1 ? [self canGoToNextPage] : keyDirection == 
-1 ? [self canGoToPreviousPage] : NO)) {
         // Apple does not navigate in horizontal mode
         clipView = [[self embeddedScrollView] contentView];
         bounds = [clipView bounds];

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