Revision: 14231
          http://sourceforge.net/p/skim-app/code/14231
Author:   hofman
Date:     2024-04-22 16:45:48 +0000 (Mon, 22 Apr 2024)
Log Message:
-----------
rename variable and make sure it is set properly

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

Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m   2024-04-22 16:42:07 UTC (rev 
14230)
+++ trunk/SKMainWindowController_FullScreen.m   2024-04-22 16:45:48 UTC (rev 
14231)
@@ -543,14 +543,14 @@
     [NSApp removeWindowsItem:presentationWindow];
     [presentationWindow setLevel:NSPopUpMenuWindowLevel];
     
-    BOOL covered = NSContainsRect([presentationWindow frame], [mainWindow 
frame]);
-    if (covered)
+    BOOL noFadeIn = NSContainsRect([presentationWindow frame], [mainWindow 
frame]);
+    if (noFadeIn)
         [mainWindow setAlphaValue:1.0];
     
     NSWindowTabGroup *tabGroup = [savedNormalSetup objectForKey:TABGROUP_KEY];
     if ([[tabGroup windows] count]) {
         NSUInteger tabIndex = [[savedNormalSetup objectForKey:TABINDEX_KEY] 
unsignedIntegerValue];
-        covered = NO;
+        noFadeIn = YES;
         [mainWindow setAlphaValue:1.0];
         [tabGroup insertWindow:mainWindow atIndex:MIN(tabIndex, [[tabGroup 
windows] count])];
     }
@@ -560,7 +560,7 @@
     [NSAnimationContext runAnimationGroup:^(NSAnimationContext *context) {
             [context setDuration:PRESENTATION_DURATION];
             [context setTimingFunction:[CAMediaTimingFunction 
functionWithName:kCAMediaTimingFunctionEaseInEaseOut]];
-            if (covered == NO)
+            if (noFadeIn == NO)
                 [[mainWindow animator] setAlphaValue:1.0];
             [[presentationWindow animator] setAlphaValue:0.0];
             [[[presentationPreview window] animator] setAlphaValue:0.0];

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