Revision: 16161
          http://sourceforge.net/p/skim-app/code/16161
Author:   hofman
Date:     2026-04-04 14:40:46 +0000 (Sat, 04 Apr 2026)
Log Message:
-----------
no need for variable

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2026-04-04 14:39:14 UTC (rev 16160)
+++ trunk/SKMainWindowController.m      2026-04-04 14:40:46 UTC (rev 16161)
@@ -1733,7 +1733,6 @@
     
     // don't check interactionMode as this can be called from enterPresentation
     BOOL isPresentation = 0 == ([[overviewContentView window] styleMask] & 
NSWindowStyleMaskTitled);
-    NSView *newView = isPresentation ? presentationView : [splitViewController 
view];
     NSView *contentView = [overviewContentView superview];
     
     if (animate) {
@@ -1748,7 +1747,7 @@
     }
     
     [overviewContentView removeFromSuperview];
-    [newView setHidden:NO];
+    [(isPresentation ? presentationView : [splitViewController view]) 
setHidden:NO];
     [[contentView window] makeFirstResponder:isPresentation ? presentationView 
: pdfView];
     [[contentView window] recalculateKeyViewLoop];
     

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

Reply via email to