Revision: 16640
          http://sourceforge.net/p/skim-app/code/16640
Author:   hofman
Date:     2026-10-10 14:43:04 +0000 (Sat, 10 Oct 2026)
Log Message:
-----------
only need to check page keys, as we don't handle line scroll this way

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

Modified: trunk/SKBasePDFView.m
===================================================================
--- trunk/SKBasePDFView.m       2026-10-09 16:49:07 UTC (rev 16639)
+++ trunk/SKBasePDFView.m       2026-10-10 14:43:04 UTC (rev 16640)
@@ -478,9 +478,9 @@
 - (void)keyDown:(NSEvent *)event {
     if ([self displayDirection] || ([self displayMode] & 
kPDFDisplaySinglePageContinuous) == 0) {
         unichar ch = [event firstCharacter];
-        if (ch == NSPageDownFunctionKey || ch == NSDownArrowFunctionKey)
+        if (ch == NSPageDownFunctionKey)
             keyDirection = 1;
-        else if (ch == NSPageUpFunctionKey || ch == NSUpArrowFunctionKey)
+        else if (ch == NSPageUpFunctionKey)
             keyDirection = -1;
         else if (ch == SKSpaceCharacter)
             keyDirection = ([event modifierFlags] & NSEventModifierFlagShift) 
? -1 : 1;

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