DescriptionAfter Aura copied the original Linux scrollbar behvaior, it never got updated
with Windows-specific native behaviors from ScrollbarThemeWin.cpp:
* Snap the scrollbar back to its drag origin when dragged too far off the track.
This code matches the old code we had for years and also matches my Win 7
native scrollbars pixel-for-pixel.
* Don't jump the scroll thumb to the mouse cursor on a middle-click, only on a
shift-click. Middle-click must be a GTK-ism.
This is the Chrome side of the changes to re-add this behavior.
BUG=337919
TEST=Drag a scroll thumb to somewhere in the track, then without releasing, move the mouse far away from the track. The scroll thumb should snap back to the scroll origin.
R=avi@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=254305
Patch Set 1 #Patch Set 2 : #
Total comments: 2
Patch Set 3 : #Patch Set 4 : #Patch Set 5 : #Patch Set 6 : #Patch Set 7 : #
Messages
Total messages: 4 (0 generated)
|