fix: do not reposition traffic lights when fullscreened (#22492)
This commit is contained in:
parent
39baf68790
commit
8352c39c65
1 changed files with 2 additions and 0 deletions
|
@ -517,6 +517,8 @@ void NativeWindowMac::RepositionTrafficLights() {
|
|||
if (!traffic_light_position_.x() && !traffic_light_position_.y()) {
|
||||
return;
|
||||
}
|
||||
if (IsFullscreen())
|
||||
return;
|
||||
|
||||
NSWindow* window = window_;
|
||||
NSButton* close = [window standardWindowButton:NSWindowCloseButton];
|
||||
|
|
Loading…
Reference in a new issue