Revision: 10182
http://sourceforge.net/p/skim-app/code/10182
Author: hofman
Date: 2018-12-26 11:19:02 +0000 (Wed, 26 Dec 2018)
Log Message:
-----------
don't revert pdf display view settings when not using separate pdf view
settings for full screen
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2018-12-26 11:15:48 UTC (rev 10181)
+++ trunk/SKMainWindowController.m 2018-12-26 11:19:02 UTC (rev 10182)
@@ -1914,8 +1914,10 @@
[pdfView setInteractionMode:SKNormalMode];
[pdfView setBackgroundColor:backgroundColor];
[secondaryPdfView setBackgroundColor:backgroundColor];
- [pdfView needsRewind];
- [self applyPDFSettings:savedNormalSetup];
+ if ([[[NSUserDefaults standardUserDefaults]
dictionaryForKey:SKDefaultFullScreenPDFDisplaySettingsKey] count]) {
+ [pdfView needsRewind];
+ [self applyPDFSettings:savedNormalSetup];
+ }
NSNumber *leftWidth = [savedNormalSetup
objectForKey:LEFTSIDEPANEWIDTH_KEY];
NSNumber *rightWidth = [savedNormalSetup
objectForKey:RIGHTSIDEPANEWIDTH_KEY];
if (leftWidth && rightWidth)
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