Changeset 228690 in webkit
- Timestamp:
- Feb 19, 2018 8:16:10 AM (6 years ago)
- Location:
- releases/WebKitGTK/webkit-2.20/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
releases/WebKitGTK/webkit-2.20/Source/WebCore/ChangeLog
r228689 r228690 1 2018-02-11 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> 2 3 [GTK] Scrolling sometimes jumps around 4 https://bugs.webkit.org/show_bug.cgi?id=178519 5 6 Reviewed by Michael Catanzaro. 7 8 * platform/gtk/ScrollAnimatorGtk.cpp: 9 (WebCore::ScrollAnimatorGtk::computeVelocity): use -1 as the multiplier for the accumulated deltas, 10 since all we need is to make them negative. Multiplying by -1000 leads to very high velocities being 11 returned, causing the viewport to scroll to the end of the page. 12 1 13 2018-02-10 Zalan Bujtas <zalan@apple.com> 2 14 -
releases/WebKitGTK/webkit-2.20/Source/WebCore/platform/gtk/ScrollAnimatorGtk.cpp
r224260 r228690 123 123 m_scrollHistory.clear(); 124 124 125 return FloatPoint(accumDelta.x() * -1 000 / (last - first).value(), accumDelta.y() * -1000/ (last - first).value());125 return FloatPoint(accumDelta.x() * -1 / (last - first).value(), accumDelta.y() * -1 / (last - first).value()); 126 126 } 127 127
Note: See TracChangeset
for help on using the changeset viewer.