Commit 63d9a0cf authored by Tim Song's avatar Tim Song Committed by Commit Bot

Ash Tray: Fix bubble overflowing in tablet overview mode.

BUG=1042946

Change-Id: I665dbfa33d041c870a18433c7f69225cc4e00c59
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2006192
Commit-Queue: Tim Song <tengs@chromium.org>
Reviewed-by: default avatarAhmed Mehfooz <amehfooz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#732669}
parent e8b9095f
...@@ -61,7 +61,8 @@ gfx::Insets GetTrayBubbleInsets() { ...@@ -61,7 +61,8 @@ gfx::Insets GetTrayBubbleInsets() {
int height_compensation = kTrayBubbleInsetHotseatCompensation; int height_compensation = kTrayBubbleInsetHotseatCompensation;
switch (shelf->GetBackgroundType()) { switch (shelf->GetBackgroundType()) {
case ShelfBackgroundType::kInApp: case ShelfBackgroundType::kInApp:
// In-app mode does not require a height compensation. case ShelfBackgroundType::kOverview:
// Certain modes do not require a height compensation.
height_compensation = 0; height_compensation = 0;
break; break;
case ShelfBackgroundType::kLogin: case ShelfBackgroundType::kLogin:
......
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