Revision: 13118
          http://sourceforge.net/p/skim-app/code/13118
Author:   hofman
Date:     2022-10-23 08:36:51 +0000 (Sun, 23 Oct 2022)
Log Message:
-----------
only cancel perform request when magnifying

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

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2022-10-23 08:35:41 UTC (rev 13117)
+++ trunk/SKPDFView.m   2022-10-23 08:36:51 UTC (rev 13118)
@@ -4821,11 +4821,11 @@
 }
 
 - (void)updateMagnifyWithEvent:(NSEvent *)theEvent {
-    [[self class] cancelPreviousPerformRequestsWithTarget:self selector:_cmd 
object:nil];
-    
     if (loupeWindow == nil)
         return;
     
+    [[self class] cancelPreviousPerformRequestsWithTarget:self selector:_cmd 
object:nil];
+    
     // get the current mouse location
     NSRect visibleRect = [self visibleContentRect];
     NSPoint mouseLoc;

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