We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bcd5e49 commit 539e7a5Copy full SHA for 539e7a5
src/browser/native_window_mac.mm
@@ -625,7 +625,7 @@ - (void)drawRect:(NSRect)dirtyRect {
625
[window() setStyleMask:window().styleMask | NSResizableWindowMask];
626
} else {
627
[[window() standardWindowButton:NSWindowZoomButton] setEnabled:NO];
628
- [window() setStyleMask:window().styleMask ^ NSResizableWindowMask];
+ [window() setStyleMask:window().styleMask & ~NSResizableWindowMask];
629
}
630
631
0 commit comments