-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hover/Focus effect on tab close button is too small #7276
Labels
Milestone
Comments
simonhong
added a commit
to brave/brave-core
that referenced
this issue
Dec 9, 2019
After c79 bump, close button uses ink drop for hover effect and highlight generator for focus ring. Both uses LayoutProvider::GetCornerRadiusMetric() with EMPHASIS_MAXIMUM for calculating radius for their circle shape effect. However, we modified to return 4 always. Because of this, small circle was drawn. So, orignal maximum radius calculation logic is applied by subclassing TabCloseButton. Fix brave/brave-browser#7276
32 tasks
Pulling into 1.1 since this is a regression |
Verified passed with
Verification passed on
|
Brave | 1.1.20 Chromium: 79.0.3945.74 (Official Build) (64-bit) |
---|---|
Revision | 99b6d241cf84f7fa7434ae8a59f9e74eb1464280-refs/branch-heads/3945@{#888} |
OS | Windows 10 OS Version 1803 (Build 17134.228) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Test plan
Hovering over the close button should look like this:
NOT like this:
Description
This looks regression from C79 bump.
Only
1.0
is fine.1.2
,1.3
and1.4
all have this issue.1.1
could have same issue.The text was updated successfully, but these errors were encountered: