DescriptionAfter Aura copied the original Linux scrollbar behavior, 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 Blink 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=abarth@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168177
Patch Set 1 #
Total comments: 4
Patch Set 2 : #Patch Set 3 : #
Total comments: 4
Patch Set 4 : #Messages
Total messages: 13 (0 generated)
|