Revision: 16076
          http://sourceforge.net/p/skim-app/code/16076
Author:   hofman
Date:     2026-03-18 22:59:51 +0000 (Wed, 18 Mar 2026)
Log Message:
-----------
exchange conditions

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

Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m   2026-03-18 18:30:10 UTC (rev 
16075)
+++ trunk/SKMainWindowController_FullScreen.m   2026-03-18 22:59:51 UTC (rev 
16076)
@@ -596,10 +596,10 @@
 }
 
 - (NSApplicationPresentationOptions)window:(NSWindow *)window 
willUseFullScreenPresentationOptions:(NSApplicationPresentationOptions)proposedOptions
 {
-    if ([[NSUserDefaults standardUserDefaults] 
boolForKey:SKAutoHideToolbarInFullScreenKey] == NO)
+    if ([[NSUserDefaults standardUserDefaults] 
boolForKey:SKAutoHideToolbarInFullScreenKey])
+        return proposedOptions | NSApplicationPresentationAutoHideToolbar;
+    else
         return proposedOptions;
-    else
-        return proposedOptions | NSApplicationPresentationAutoHideToolbar;
 }
 
 - (NSArray *)customWindowsToEnterFullScreenForWindow:(NSWindow *)window {

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