Skip to content
Commit 91dac984 authored by David Pennington's avatar David Pennington Committed by Chromium LUCI CQ
Browse files

[ChromeRefresh] expand kHitTest tab path to take entire horizontal space

... as well as some other path fixes for small tabs.

For Tab Hover effects, in GM2 Tab Style, there was a continuous hover when moving the mouse across tabs. In ChromeRefresh2023, the separator margin became wider, which caused the hit test to have dead space in the middle of the tabs. This caused the hover effect to go away when mousing over the separator. In order to fix this we expand the hit test all of the way into the separator.

The same goes for the detatched tab paths if they are very small.

Bug: 1469179
Change-Id: Ib90a4ed23a08e43beb72f6edab6e98d2dd070dfb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4742961


Code-Coverage: Findit <findit-for-me@appspot.gserviceaccount.com>
Commit-Queue: David Pennington <dpenning@chromium.org>
Reviewed-by: default avatarShibalik Mohapatra <shibalik@chromium.org>
Reviewed-by: default avatarTaylor Bergquist <tbergquist@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1180607}
parent 6cd4beda
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment