Revision: 14208
          http://sourceforge.net/p/skim-app/code/14208
Author:   hofman
Date:     2024-04-11 16:04:59 +0000 (Thu, 11 Apr 2024)
Log Message:
-----------
simplify condition check

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

Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m   2024-04-11 14:42:40 UTC (rev 
14207)
+++ trunk/SKMainWindowController_FullScreen.m   2024-04-11 16:04:59 UTC (rev 
14208)
@@ -561,7 +561,7 @@
 }
 
 - (BOOL)canEnterFullscreen {
-    return mwcFlags.isSwitchingFullScreen == 0 && ([self interactionMode] == 
SKNormalMode || [self interactionMode] == SKPresentationMode);
+    return mwcFlags.isSwitchingFullScreen == 0 && [self interactionMode] != 
SKFullScreenMode;
 }
 
 - (BOOL)canEnterPresentation {

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