mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: double traffic lights on exit fullscreen (#30114)
This commit is contained in:
@@ -1690,7 +1690,7 @@ bool NativeWindowMac::IsActive() const {
|
||||
}
|
||||
|
||||
void NativeWindowMac::ReorderButtonsView() {
|
||||
if (buttons_view_) {
|
||||
if (buttons_view_ && !IsFullscreen()) {
|
||||
[buttons_view_ removeFromSuperview];
|
||||
[[window_ contentView] addSubview:buttons_view_];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user