Revision: 13569
          http://sourceforge.net/p/skim-app/code/13569
Author:   hofman
Date:     2023-08-10 17:06:05 +0000 (Thu, 10 Aug 2023)
Log Message:
-----------
always remove navigation window when showing cursor window, also when already 
visible

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

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2023-08-09 09:32:23 UTC (rev 13568)
+++ trunk/SKPDFView.m   2023-08-10 17:06:05 UTC (rev 13569)
@@ -3538,10 +3538,10 @@
 }
 
 - (void)showCursorStyleWindow:(id)sender {
+    [navWindow fadeOut];
     if ([cursorWindow isVisible] == NO) {
         if (cursorWindow == nil)
             cursorWindow = [[SKCursorStyleWindow alloc] initWithPDFView:self];
-        [navWindow fadeOut];
         [cursorWindow showForWindow:[self window]];
         
NSAccessibilityPostNotificationWithUserInfo(NSAccessibilityUnignoredAncestor([self
 documentView]), NSAccessibilityLayoutChangedNotification, [NSDictionary 
dictionaryWithObjectsAndKeys:NSAccessibilityUnignoredChildrenForOnlyChild(cursorWindow),
 NSAccessibilityUIElementsKey, nil]);
     }

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