commit | bffdf830a115cbc1d166c6deddef00d7b586588c | [log] [tgz] |
---|---|---|
author | Ana Salazar <anasalazar@chromium.org> | Fri May 06 16:56:12 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri May 06 16:56:12 2022 |
tree | a936c4caf5a1bd5e836144a7ef0dd99a3c5a6896 | |
parent | 1b3ba0c5a9071ca9fbbe6ed1c05784b94916643e [diff] |
[shelf]: Ensure GhostView for shelf is a circle When dragging an app along the shelf, a ghost view in the shape of a circle is shown as a placeholder. Currently, the bounds of the ghost view are not squared, which causes to show as an oval instead of a circle. Calculate the square that represents the icon and use that as drop target for the ghost image view so bounds are calculated as a circle. Bug: 1323091 Change-Id: Ieba91c20fa7467791a104e5d099c0b32195cf719 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3631195 Commit-Queue: Ana Salazar <anasalazar@chromium.org> Reviewed-by: Toni Barzic <tbarzic@chromium.org> Cr-Commit-Position: refs/heads/main@{#1000414}
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.