Chromium Code Reviews
DescriptionPrevent gap when gesture-dragging in stacked tab mode
In stacked tab mode, if the active tab's x-position
is maximal and there is a stacked tab to its left,
gesture-dragging the active tab to the left will
produce a gap in the tabstrip. Prevent this from
happening by invoking AdjustStackedTabs() rather than
ResetToIdealState(), as is done in the symmetric case
of gesture-dragging to the right.
BUG=454479
TEST=StackedTabStripLayoutTest.DragActiveTabExisting
Review-Url: https://codereview.chromium.org/2918653002
Cr-Commit-Position: refs/heads/master@{#476448}
Committed: https://chromium.googlesource.com/chromium/src/+/c6adb78933fa7fd7a0259ab6ff25620dd0a875f8
Patch Set 1 #Patch Set 2 : added tests #
Messages
Total messages: 20 (14 generated)
|
||||||||||||||||||||||||||||