Revision: 15327 http://sourceforge.net/p/skim-app/code/15327 Author: hofman Date: 2025-05-30 09:02:00 +0000 (Fri, 30 May 2025) Log Message: ----------- do not bother getting full screen setup when locked
Modified Paths: -------------- trunk/SKMainWindowController_FullScreen.m Modified: trunk/SKMainWindowController_FullScreen.m =================================================================== --- trunk/SKMainWindowController_FullScreen.m 2025-05-30 08:51:56 UTC (rev 15326) +++ trunk/SKMainWindowController_FullScreen.m 2025-05-30 09:02:00 UTC (rev 15327) @@ -557,11 +557,13 @@ if (interactionMode != SKFullScreenMode) { interactionMode = SKFullScreenMode; NSColor *backgroundColor = [PDFView defaultFullScreenBackgroundColor]; - NSDictionary *fullScreenSetup = [[NSUserDefaults standardUserDefaults] dictionaryForKey:SKDefaultFullScreenPDFDisplaySettingsKey]; [pdfView setBackgroundColor:backgroundColor]; [secondaryPdfView setBackgroundColor:backgroundColor]; - if ([[pdfView document] isLocked] == NO && [fullScreenSetup count]) - [self applyPDFSettings:fullScreenSetup rewind:YES]; + if ([[pdfView document] isLocked] == NO) { + NSDictionary *fullScreenSetup = [[NSUserDefaults standardUserDefaults] dictionaryForKey:SKDefaultFullScreenPDFDisplaySettingsKey]; + if ([fullScreenSetup count]) + [self applyPDFSettings:fullScreenSetup rewind:YES]; + } } } else { if (interactionMode != SKNormalMode) { 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