Revision: 15263
          http://sourceforge.net/p/skim-app/code/15263
Author:   hofman
Date:     2025-05-23 15:26:07 +0000 (Fri, 23 May 2025)
Log Message:
-----------
set alpha to 1 in showNormalWindow

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

Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m   2025-05-23 14:56:50 UTC (rev 
15262)
+++ trunk/SKMainWindowController_FullScreen.m   2025-05-23 15:26:07 UTC (rev 
15263)
@@ -248,6 +248,8 @@
         NSUInteger tabIndex = [[savedNormalSetup objectForKey:TABINDEX_KEY] 
unsignedIntegerValue];
         [mainWindow setAlphaValue:1.0];
         [tabGroup insertWindow:mainWindow atIndex:MIN(tabIndex, [[tabGroup 
windows] count])];
+    } else if (NSContainsRect([presentationWindow frame], [mainWindow frame])) 
{
+        [mainWindow setAlphaValue:1.0];
     }
 }
 
@@ -495,11 +497,11 @@
     
     [self showNormalWindow];
     
+    // the page number may have changed
+    [self updateSubtitle];
+    
     [savedNormalSetup removeAllObjects];
     
-    if (NSContainsRect([presentationWindow frame], [mainWindow frame]))
-        [mainWindow setAlphaValue:1.0];
-    
     [NSAnimationContext runAnimationGroup:^(NSAnimationContext *context) {
             [context setDuration:PRESENTATION_DURATION];
             [context setTimingFunction:[CAMediaTimingFunction 
functionWithName:kCAMediaTimingFunctionEaseInEaseOut]];
@@ -523,9 +525,6 @@
                 [self enterFullscreen];
             }
         }];
-    
-    // the page number may have changed
-    [self updateSubtitle];
 }
 
 - (BOOL)canEnterFullscreen {

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