Revision: 16077
http://sourceforge.net/p/skim-app/code/16077
Author: hofman
Date: 2026-03-19 14:45:00 +0000 (Thu, 19 Mar 2026)
Log Message:
-----------
don't hide window buttons when not visible
Modified Paths:
--------------
trunk/SKMainWindowController_FullScreen.m
Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m 2026-03-18 22:59:51 UTC (rev
16076)
+++ trunk/SKMainWindowController_FullScreen.m 2026-03-19 14:45:00 UTC (rev
16077)
@@ -652,9 +652,11 @@
[blackLayer setFrame:SKSliceRect([window
convertRectFromScreen:frame], offset, NSRectEdgeMaxY)];
[[[[window contentView] superview] layer] addSublayer:blackLayer];
}
- for (NSView *view in [[[window
standardWindowButton:NSWindowCloseButton] superview] subviews]) {
- if ([view isKindOfClass:[NSControl class]])
- [view setAlphaValue:0.0];
+ if (accessoryHeight <= 0.0) {
+ for (NSView *view in [[[window
standardWindowButton:NSWindowCloseButton] superview] subviews]) {
+ if ([view isKindOfClass:[NSControl class]])
+ [view setAlphaValue:0.0];
+ }
}
[self windowWillEnterFullScreenStyle:window];
} else {
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