commit | b23b45f072364dc597065ae596c7e6342f49b949 | [log] [tgz] |
---|---|---|
author | Daniel Andersson <dandersson@chromium.org> | Wed May 10 20:11:34 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed May 10 20:11:34 2023 |
tree | c511f6df7d8c0f5114a4a2e010a973d8bed07a3c | |
parent | 7c79b85291f60927b6786eb1f1ffa292fb04b60b [diff] |
frame: Make FrameAnimatorView not change overall opacity FrameAnimatorView is used when animating dark/light mode theme switches. As part of this, it uses two layers - one with the old theme setting, and one with the new. It then fades between these by changing the opacity. However, if the existing layer has had its opacity changed, then this transition animation will effectively override the old opacity setting. This change makes it so that the opacity of the new layer ends up matching whatever the old layer had. BUG=b:281152594 Change-Id: Ia1bd9a8f5013f2d6ac569dcd050754f1b9048364 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4508701 Commit-Queue: Daniel Andersson <dandersson@chromium.org> Reviewed-by: Yongshun Liu <yongshun@chromium.org> Reviewed-by: Sammie Quon <sammiequon@chromium.org> Cr-Commit-Position: refs/heads/main@{#1142303}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.