Revision: 13555
          http://sourceforge.net/p/skim-app/code/13555
Author:   hofman
Date:     2023-08-01 09:30:37 +0000 (Tue, 01 Aug 2023)
Log Message:
-----------
always first close side pane in presentation mode in cancelOperation

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

Modified: trunk/SKMainWindowController_Actions.m
===================================================================
--- trunk/SKMainWindowController_Actions.m      2023-07-31 14:44:28 UTC (rev 
13554)
+++ trunk/SKMainWindowController_Actions.m      2023-08-01 09:30:37 UTC (rev 
13555)
@@ -1240,7 +1240,9 @@
         [self hideOverviewAnimating:YES];
     } else if ([self interactionMode] != SKNormalMode) {
         if (sender == [self window]) {
-            if ([self canExitFullscreen])
+            if ([self interactionMode] == SKPresentationMode && [self 
leftSidePaneIsOpen])
+                [self toggleLeftSidePane:sender];
+            else if ([self canExitFullscreen])
                 [self exitFullscreen];
             else if ([self canExitPresentation])
                 [self exitPresentation];

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