Revision: 15326
          http://sourceforge.net/p/skim-app/code/15326
Author:   hofman
Date:     2025-05-30 08:51:56 +0000 (Fri, 30 May 2025)
Log Message:
-----------
do not restore side pane widths after full screen as we do not (optionally) 
collapse them

Modified Paths:
--------------
    trunk/SKMainWindowController_FullScreen.m

Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m   2025-05-29 21:14:37 UTC (rev 
15325)
+++ trunk/SKMainWindowController_FullScreen.m   2025-05-30 08:51:56 UTC (rev 
15326)
@@ -69,8 +69,6 @@
 #import "NSWindow_SKExtensions.h"
 
 #define MAINWINDOWFRAME_KEY         @"windowFrame"
-#define LEFTSIDEPANEWIDTH_KEY       @"leftSidePaneWidth"
-#define RIGHTSIDEPANEWIDTH_KEY      @"rightSidePaneWidth"
 #define HASHORIZONTALSCROLLER_KEY   @"hasHorizontalScroller"
 #define HASVERTICALSCROLLER_KEY     @"hasVerticalScroller"
 #define AUTOHIDESSCROLLERS_KEY      @"autoHidesScrollers"
@@ -573,10 +571,6 @@
             [secondaryPdfView setBackgroundColor:backgroundColor];
             if ([[[NSUserDefaults standardUserDefaults] 
dictionaryForKey:SKDefaultFullScreenPDFDisplaySettingsKey] count])
                 [self applyPDFSettings:savedNormalSetup rewind:YES];
-            NSNumber *leftWidth = [savedNormalSetup 
objectForKey:LEFTSIDEPANEWIDTH_KEY];
-            NSNumber *rightWidth = [savedNormalSetup 
objectForKey:RIGHTSIDEPANEWIDTH_KEY];
-            if (leftWidth && rightWidth)
-                [self applyLeftSideWidth:[leftWidth doubleValue] 
rightSideWidth:[rightWidth doubleValue]];
         }
     }
 }

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

Reply via email to