Revision: 16162
          http://sourceforge.net/p/skim-app/code/16162
Author:   hofman
Date:     2026-04-04 14:50:34 +0000 (Sat, 04 Apr 2026)
Log Message:
-----------
notify before completion handler

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2026-04-04 14:40:46 UTC (rev 16161)
+++ trunk/SKMainWindowController.m      2026-04-04 14:50:34 UTC (rev 16162)
@@ -1718,6 +1718,7 @@
         [NSCursor setHiddenUntilMouseMoves:NO];
     [[self window] makeFirstResponder:overviewView];
     [[self window] recalculateKeyViewLoop];
+    
     [[NSNotificationCenter defaultCenter] 
postNotificationName:SKMainWindowControllerDidShowOrHideOverviewNotification 
object:self];
 }
 
@@ -1751,6 +1752,8 @@
     [[contentView window] makeFirstResponder:isPresentation ? presentationView 
: pdfView];
     [[contentView window] recalculateKeyViewLoop];
     
+    [[NSNotificationCenter defaultCenter] 
postNotificationName:SKMainWindowControllerDidShowOrHideOverviewNotification 
object:self];
+    
     if (handler) {
         if (animate)
             [CATransaction commit];
@@ -1757,8 +1760,6 @@
         else
             handler();
     }
-    
-    [[NSNotificationCenter defaultCenter] 
postNotificationName:SKMainWindowControllerDidShowOrHideOverviewNotification 
object:self];
 }
 
     

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