We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 603f543 commit 4d99ad1Copy full SHA for 4d99ad1
native/Avalonia.Native/src/OSX/WindowImpl.mm
@@ -31,7 +31,7 @@
31
}
32
33
bool wantsChrome = (_extendClientHints & AvnSystemChrome) || (_extendClientHints & AvnPreferSystemChrome);
34
- bool hasTrafficLights = _isClientAreaExtended ? !wantsChrome : _decorations != SystemDecorationsFull;
+ bool hasTrafficLights = _isClientAreaExtended ? wantsChrome : _decorations != SystemDecorationsFull;
35
36
[[Window standardWindowButton:NSWindowCloseButton] setHidden:hasTrafficLights];
37
[[Window standardWindowButton:NSWindowMiniaturizeButton] setHidden:hasTrafficLights];
0 commit comments