Commit 139d1c93 authored by Leonard Grey's avatar Leonard Grey Committed by Commit Bot

Mac: update traffic light inset for 10.16/11.0

New number via consultation with PM and UX.

Bug: 1098397
Change-Id: I9ddb3582974b199c8d820fc76026a064a21a4edc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2300320Reviewed-by: default avatarAvi Drissman <avi@chromium.org>
Commit-Queue: Leonard Grey <lgrey@chromium.org>
Cr-Commit-Position: refs/heads/master@{#788716}
parent 8c0d058e
......@@ -130,7 +130,7 @@ gfx::Rect BrowserNonClientFrameViewMac::GetBoundsForTabStripRegion(
// Do not draw caption buttons on fullscreen.
if (!frame()->IsFullscreen()) {
constexpr int kCaptionWidth = 70;
const int kCaptionWidth = base::mac::IsAtMostOS10_15() ? 70 : 85;
if (CaptionButtonsOnLeadingEdge())
bounds.Inset(gfx::Insets(0, kCaptionWidth, 0, 0));
else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment