Revision: 15508
          http://sourceforge.net/p/skim-app/code/15508
Author:   hofman
Date:     2025-06-20 15:57:50 +0000 (Fri, 20 Jun 2025)
Log Message:
-----------
don't call displayindViewAnimating: when already displaying the find view

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

Modified: trunk/SKMainWindowController_Actions.m
===================================================================
--- trunk/SKMainWindowController_Actions.m      2025-06-20 15:52:57 UTC (rev 
15507)
+++ trunk/SKMainWindowController_Actions.m      2025-06-20 15:57:50 UTC (rev 
15508)
@@ -850,7 +850,8 @@
         } else {
             [pdfDoc beginFindString:[sender stringValue] withOptions:options];
         }
-        [self displayFindViewAnimating:YES];
+        if ([self displaysFindPane] == NO)
+            [self displayFindViewAnimating:YES];
         
         NSPasteboard *findPboard = [NSPasteboard 
pasteboardWithName:NSPasteboardNameFind];
         [findPboard clearContents];

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