Changeset 287794 in webkit
- Timestamp:
- Jan 7, 2022, 3:47:41 PM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/API/gtk/WebKitWebViewBase.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r287786 r287794 1 2022-01-07 Chris Lord <clord@igalia.com> 2 3 [GTK] REGRESSION: Kinetic scrolling via touch-screen behaves oddly 4 https://bugs.webkit.org/show_bug.cgi?id=234958 5 6 Reviewed by Michael Catanzaro. 7 8 The swipe signal handler didn't take into account 9 Scrollbar::pixelsPerLineStep() and also incorrectly negated the 10 vertical velocity. Ideally, touch scrolling would use precise wheel 11 events, but as the rest of the code works correctly and scales by this 12 amount, make the one-line change that conforms with the previous code. 13 14 * UIProcess/API/gtk/WebKitWebViewBase.cpp: 15 (webkitWebViewBaseTouchSwipe): 16 1 17 2022-01-07 Patrick Angle <pangle@apple.com> 2 18 -
trunk/Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp
r282952 r287794 2002 2002 } 2003 2003 2004 webkitWebViewBaseSynthesizeWheelEvent(webViewBase, event, -velocityX , -velocityY, x, y, WheelEventPhase::NoPhase, WheelEventPhase::Began);2004 webkitWebViewBaseSynthesizeWheelEvent(webViewBase, event, -velocityX / Scrollbar::pixelsPerLineStep(), velocityY / Scrollbar::pixelsPerLineStep(), x, y, WheelEventPhase::NoPhase, WheelEventPhase::Began); 2005 2005 } 2006 2006 }
Note:
See TracChangeset
for help on using the changeset viewer.