Commit d5037f12 authored by Matthew Mourgos's avatar Matthew Mourgos Committed by Commit Bot

CrOS Shelf: Correctly set shelf animating background color

Bug: 1032420
Change-Id: I034c96aa57f7818253ba96a7547d6481ec48e6a5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1959767Reviewed-by: default avatarManu Cornet <manucornet@chromium.org>
Commit-Queue: Matthew Mourgos <mmourgos@chromium.org>
Cr-Commit-Position: refs/heads/master@{#723664}
parent 9109a357
......@@ -99,6 +99,9 @@ void HotseatTransitionAnimator::DoAnimation(HotseatState old_state,
const bool animating_to_shown_hotseat = new_state == HotseatState::kShown;
shelf_widget_->GetAnimatingBackground()->SetColor(
ShelfConfig::Get()->GetMaximizedShelfColor());
gfx::Rect target_bounds = shelf_widget_->GetOpaqueBackground()->bounds();
target_bounds.set_height(ShelfConfig::Get()->in_app_shelf_size());
target_bounds.set_y(
......
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