Revision: 13610
http://sourceforge.net/p/skim-app/code/13610
Author: hofman
Date: 2023-08-26 16:26:33 +0000 (Sat, 26 Aug 2023)
Log Message:
-----------
disable page rotation in presentation mode, it uses a different undoManager
Modified Paths:
--------------
trunk/SKMainWindowController_UI.m
Modified: trunk/SKMainWindowController_UI.m
===================================================================
--- trunk/SKMainWindowController_UI.m 2023-08-26 16:20:59 UTC (rev 13609)
+++ trunk/SKMainWindowController_UI.m 2023-08-26 16:26:33 UTC (rev 13610)
@@ -1775,7 +1775,7 @@
[menuItem setState:[pdfView autoScales] ? NSOnState : NSOffState];
return [[self pdfDocument] isLocked] == NO && [self hasOverview] == NO;
} else if (action == @selector(rotateRight:) || action ==
@selector(rotateLeft:) || action == @selector(rotateAllRight:) || action ==
@selector(rotateAllLeft:)) {
- return [[self pdfDocument] isLocked] == NO;
+ return [self interactionMode] != SKPresentationMode && [[self
pdfDocument] isLocked] == NO;
} else if (action == @selector(cropAll:) || action == @selector(crop:) ||
action == @selector(autoCropAll:) || action == @selector(smartAutoCropAll:)) {
return [self interactionMode] != SKPresentationMode && [[self
pdfDocument] isLocked] == NO;
} else if (action == @selector(resetCrop:)) {
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