Revision: 13117
          http://sourceforge.net/p/skim-app/code/13117
Author:   hofman
Date:     2022-10-23 08:35:41 +0000 (Sun, 23 Oct 2022)
Log Message:
-----------
make sure delayed updateMagnifyWithEvent: is canceled when called

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

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2022-10-22 21:59:17 UTC (rev 13116)
+++ trunk/SKPDFView.m   2022-10-23 08:35:41 UTC (rev 13117)
@@ -4821,6 +4821,8 @@
 }
 
 - (void)updateMagnifyWithEvent:(NSEvent *)theEvent {
+    [[self class] cancelPreviousPerformRequestsWithTarget:self selector:_cmd 
object:nil];
+    
     if (loupeWindow == nil)
         return;
     

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