fix: double traffic lights on exit fullscreen (#30114)
This commit is contained in:
parent
05ba6359d0
commit
3f38681c55
1 changed files with 1 additions and 1 deletions
|
@ -1690,7 +1690,7 @@ bool NativeWindowMac::IsActive() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
void NativeWindowMac::ReorderButtonsView() {
|
void NativeWindowMac::ReorderButtonsView() {
|
||||||
if (buttons_view_) {
|
if (buttons_view_ && !IsFullscreen()) {
|
||||||
[buttons_view_ removeFromSuperview];
|
[buttons_view_ removeFromSuperview];
|
||||||
[[window_ contentView] addSubview:buttons_view_];
|
[[window_ contentView] addSubview:buttons_view_];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue