forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix app list bubble search box focus bar painting
When I added transparency and blur to the search box I had to switch the AppListBubbleView to use a layer with type SOLID_COLOR, which broke the blue focus bar painting. I don't think a view with a solid color layer can directly paint to its canvas (otherwise it wouldn't be a single color). Move painting to SearchBoxView. Tweak the position slightly to align with the search icon. (It's not clear to me from the spec what this bar is supposed to line up with.) The bar color is too light on the transparent background, but we can fix that separately, since I think it affects other focus rings as well. Original: https://screenshot.googleplex.com/AvjAzyNZqJoDKsJ Regressed: https://screenshot.googleplex.com/7KFUmMAk7fve6CG This CL: https://screenshot.googleplex.com/3w4QNq6RXk9Ah4X Bug: 1218229 Change-Id: I0376b753842d86e2d33b14b0e35a33159a0fe122 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3098576 Commit-Queue: James Cook <jamescook@chromium.org> Commit-Queue: Yulun Wu <yulunwu@chromium.org> Reviewed-by: Yulun Wu <yulunwu@chromium.org> Cr-Commit-Position: refs/heads/master@{#912408}
- Loading branch information
James Cook
authored and
Chromium LUCI CQ
committed
Aug 17, 2021
1 parent
a1fd299
commit b7e5f3a
Showing
5 changed files
with
15 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters