Revision: 15289
          http://sourceforge.net/p/skim-app/code/15289
Author:   hofman
Date:     2025-05-25 15:49:01 +0000 (Sun, 25 May 2025)
Log Message:
-----------
do not allow presentation wwhen any document is already in presentation

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

Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m   2025-05-25 15:45:31 UTC (rev 
15288)
+++ trunk/SKMainWindowController_FullScreen.m   2025-05-25 15:49:01 UTC (rev 
15289)
@@ -452,7 +452,7 @@
 }
 
 - (BOOL)canEnterPresentation {
-    return mwcFlags.isSwitchingFullScreen == 0 && [[self pdfDocument] 
isLocked] == NO && [self interactionMode] != SKPresentationMode;
+    return mwcFlags.isSwitchingFullScreen == 0 && [[self pdfDocument] 
isLocked] == NO && [[[[NSDocumentController sharedDocumentController] 
documents] valueForKeyPath:@"@max.interactionMode"] integerValue] != 
SKPresentationMode;
 }
 
 - (BOOL)canExitFullscreen {

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to