summaryrefslogtreecommitdiffstats
path: root/skia
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-26 00:20:30 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-26 00:20:30 +0000
commit5374a134f5547566ed821cceb9393201e4f68606 (patch)
tree3bf7875145f9c54a4f373870a36c1b57f72ca09d /skia
parent7ab49572bb55d092e757dc04a0c8ecafaf893e16 (diff)
downloadchromium_src-5374a134f5547566ed821cceb9393201e4f68606.zip
chromium_src-5374a134f5547566ed821cceb9393201e4f68606.tar.gz
chromium_src-5374a134f5547566ed821cceb9393201e4f68606.tar.bz2
Attempted fix for some wheel/touchpad scrolling errors.
The nTrackPos member of SCROLLINFO is not actually the scroll position, and can't be set by a SetScrollInfo() call. Thus the SetScrollInfo() calls were actually setting the scroll position of the fake scroll bars to the upper left corner. This change sets the scroll position to the center of each scrollbar, in the hopes that some mouse drivers were querying the scroll position or thumb position and not sending scroll left/up messages when they found the page was already scrolled all the way left/up. This change may not help, but it won't hurt, and the old code was definitely wrong. Review URL: http://codereview.chromium.org/12415 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6016 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia')
0 files changed, 0 insertions, 0 deletions