Revision: 13389
          http://sourceforge.net/p/skim-app/code/13389
Author:   hofman
Date:     2023-03-17 15:45:38 +0000 (Fri, 17 Mar 2023)
Log Message:
-----------
make sure title bar controls are visible when using cross fade to show normal 
window

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

Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m   2023-03-17 15:35:40 UTC (rev 
13388)
+++ trunk/SKMainWindowController_FullScreen.m   2023-03-17 15:45:38 UTC (rev 
13389)
@@ -704,6 +704,9 @@
         [self showStaticContentForWindow:window];
         [animationWindow setLevel:NSStatusWindowLevel];
         [window setStyleMask:[window styleMask] & 
~NSWindowStyleMaskFullScreen];
+        for (NSView *view in [[[window 
standardWindowButton:NSWindowCloseButton] superview] subviews])
+            if ([view isKindOfClass:[NSControl class]])
+                [view setAlphaValue:1.0];
         [window setFrame:frame display:YES];
         [window setLevel:NSNormalWindowLevel];
         [self crossFadeToWindow:window duration:duration];

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