Revision: 15621
          http://sourceforge.net/p/skim-app/code/15621
Author:   hofman
Date:     2025-07-08 15:24:11 +0000 (Tue, 08 Jul 2025)
Log Message:
-----------
ignore periodic events before dragging as there will be nothing to scroll

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

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2025-07-08 15:03:04 UTC (rev 15620)
+++ trunk/SKPDFView.m   2025-07-08 15:24:11 UTC (rev 15621)
@@ -4104,7 +4104,7 @@
                 [[[self scrollView] contentView] autoscroll:lastMouseEvent];
             }
         } else if ([theEvent type] == NSEventTypePeriodic) {
-            if (currentAnnotation == nil || [[[self scrollView] contentView] 
autoscroll:lastMouseEvent] == NO)
+            if (draggedAnnotation == NO || [[[self scrollView] contentView] 
autoscroll:lastMouseEvent] == NO)
                 continue;
         }
         BOOL shiftDown = ([theEvent modifierFlags] & NSEventModifierFlagShift) 
!= 0;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to