Revision: 14226
          http://sourceforge.net/p/skim-app/code/14226
Author:   hofman
Date:     2024-04-20 16:40:09 +0000 (Sat, 20 Apr 2024)
Log Message:
-----------
rename method

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

Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m   2024-04-20 16:13:04 UTC (rev 
14225)
+++ trunk/SKMainWindowController_FullScreen.m   2024-04-20 16:40:09 UTC (rev 
14226)
@@ -283,7 +283,7 @@
     [self addPresentationNotesNavigation];
 }
 
-- (void)removePresentationWindow {
+- (void)showNormalWindow {
     NSWindow *presentationWindow = [self window];
     
     [self setWindow:mainWindow];
@@ -307,7 +307,6 @@
     [mainWindow makeKeyWindow];
     [NSApp updatePresentationOptionsForWindow:mainWindow];
     [mainWindow setAnimationBehavior:NSWindowAnimationBehaviorDefault];
-    [NSApp removeWindowsItem:presentationWindow];
 }
 
 - (void)displayStaticContentForWindow:(NSWindow *)window {
@@ -554,8 +553,9 @@
     
     [touchBarController interactionModeChanged];
     
-    [self removePresentationWindow];
+    [self showNormalWindow];
     
+    [NSApp removeWindowsItem:presentationWindow];
     [presentationWindow setLevel:NSPopUpMenuWindowLevel];
     
     BOOL covered = NSContainsRect([presentationWindow frame], [mainWindow 
frame]);

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