Skip to content
Commit 1dea420e authored by Eric Sum's avatar Eric Sum Committed by Chromium LUCI CQ
Browse files

Match background color in ambient animations.

When the device is in portrait mode, we are currently using the
landscape version of the animation. This means the landscape animation's
width gets scaled down to match the width of the portrait screen and
it's center-aligned, leaving empty space on the top and bottom of the
screen. To make this less obvious to the user, fill the empty space with
a background color that exactly matches that of the animation.

This is a solution for launch. It may change in the future if we have
time to make portrait-specific versions of the animation themes.

Bug: b:217271296

Cq-Include-Trybots: luci.chrome.try:linux-chromeos-chrome
Change-Id: Iadb5e4d6185fcabbdf6b92a994779706c4d0b15a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3625594


Reviewed-by: default avatarFlorin Malita <fmalita@chromium.org>
Reviewed-by: default avatarXiaohui Chen <xiaohuic@chromium.org>
Commit-Queue: Eric Sum <esum@google.com>
Reviewed-by: default avatarJason Thai <jasontt@chromium.org>
Cr-Commit-Position: refs/heads/main@{#999817}
parent 8f362ba4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment