Revision: 14190
http://sourceforge.net/p/skim-app/code/14190
Author: hofman
Date: 2024-04-07 15:53:54 +0000 (Sun, 07 Apr 2024)
Log Message:
-----------
switch pdfview interaction mode early
Modified Paths:
--------------
trunk/SKMainWindowController_FullScreen.m
Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m 2024-04-07 15:39:09 UTC (rev
14189)
+++ trunk/SKMainWindowController_FullScreen.m 2024-04-07 15:53:54 UTC (rev
14190)
@@ -608,6 +608,7 @@
[savedNormalSetup setObject:frameString forKey:MAINWINDOWFRAME_KEY];
NSColor *backgroundColor = [PDFView defaultFullScreenBackgroundColor];
NSDictionary *fullScreenSetup = [[NSUserDefaults standardUserDefaults]
dictionaryForKey:SKDefaultFullScreenPDFDisplaySettingsKey];
+ [pdfView setInteractionMode:SKFullScreenMode];
[pdfView setBackgroundColor:backgroundColor];
[secondaryPdfView setBackgroundColor:backgroundColor];
if ([[pdfView document] isLocked] == NO && [fullScreenSetup count])
@@ -674,7 +675,6 @@
// save the offset for the next time, we may guess it wrong as it
varies between OS versions
fullScreenToolbarOffset = toolbarItemOffset -
fullScreenToolbarOffset;
}
- [pdfView setInteractionMode:SKFullScreenMode];
[touchBarController interactionModeChanged];
[self forceSubwindowsOnTop:YES];
mwcFlags.isSwitchingFullScreen = 0;
@@ -685,6 +685,7 @@
interactionMode = SKNormalMode;
NSColor *backgroundColor = [PDFView defaultBackgroundColor];
NSDictionary *fullScreenSetup = [[NSUserDefaults standardUserDefaults]
dictionaryForKey:SKDefaultFullScreenPDFDisplaySettingsKey];
+ [pdfView setInteractionMode:SKNormalMode];
[pdfView setBackgroundColor:backgroundColor];
[secondaryPdfView setBackgroundColor:backgroundColor];
if ([[pdfView document] isLocked] == NO && [fullScreenSetup count])
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