fix: update traffic lights position for macOS 11 (#30263)
This commit is contained in:
parent
385d0f590f
commit
d2989de5d9
3 changed files with 19 additions and 2 deletions
|
@ -1800,7 +1800,7 @@ void NativeWindowMac::AddContentViewLayers() {
|
|||
[buttons_view_ setShowOnHover:YES];
|
||||
if (title_bar_style_ == TitleBarStyle::kHiddenInset &&
|
||||
!traffic_light_position_)
|
||||
[buttons_view_ setMargin:gfx::Point(12, 11)];
|
||||
[buttons_view_ setMargin:[WindowButtonsView hiddenInsetMargin]];
|
||||
|
||||
if (!IsClosable())
|
||||
[[buttons_view_ viewWithTag:0] setEnabled:NO];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue