Revision: 14202
http://sourceforge.net/p/skim-app/code/14202
Author: hofman
Date: 2024-04-10 16:06:57 +0000 (Wed, 10 Apr 2024)
Log Message:
-----------
Set current PDF view settings in current setup when in full screen mode,
possibly overriden by saved normal setup. The saved normal setup may not have
been set.
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2024-04-10 15:54:57 UTC (rev 14201)
+++ trunk/SKMainWindowController.m 2024-04-10 16:06:57 UTC (rev 14202)
@@ -590,9 +590,9 @@
[setup setObject:cropBoxes forKey:CROPBOXES_KEY];
if ([snapshots count])
[setup setObject:[snapshots valueForKey:SKSnapshotCurrentSetupKey]
forKey:SNAPSHOTS_KEY];
- if ([self interactionMode] == SKNormalMode) {
+ if ([self interactionMode] != SKPresentationMode)
[setup addEntriesFromDictionary:[self currentPDFSettings]];
- } else {
+ if ([self interactionMode] != SKNormalMode) {
[setup addEntriesFromDictionary:savedNormalSetup];
[setup removeObjectsForKeys:@[HASHORIZONTALSCROLLER_KEY,
HASVERTICALSCROLLER_KEY, AUTOHIDESSCROLLERS_KEY, DRAWSBACKGROUND_KEY,
TABGROUP_KEY, TABINDEX_KEY, LOCKED_KEY]];
}
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