Changeset 258831 in webkit
- Timestamp:
- Mar 23, 2020 3:57:14 AM (4 years ago)
- Location:
- trunk/Source
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r258827 r258831 1 2020-03-23 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 [WPE] AsyncScrolling: horizontal scrolling is inverted 4 https://bugs.webkit.org/show_bug.cgi?id=208638 5 6 Reviewed by Adrian Perez de Castro. 7 8 Scrolling down should scroll to the right and up to the left.. 9 10 * page/scrolling/nicosia/ScrollingTreeFrameScrollingNodeNicosia.cpp: 11 (WebCore::ScrollingTreeFrameScrollingNodeNicosia::handleWheelEvent): Invert also the x axis. 12 * page/scrolling/nicosia/ScrollingTreeOverflowScrollingNodeNicosia.cpp: 13 (WebCore::ScrollingTreeOverflowScrollingNodeNicosia::handleWheelEvent): Ditto. 14 1 15 2020-03-23 Antoine Quint <graouts@apple.com> 2 16 -
trunk/Source/WebCore/page/scrolling/nicosia/ScrollingTreeFrameScrollingNodeNicosia.cpp
r255037 r258831 108 108 109 109 auto updateScope = compositionLayer.createUpdateScope(); 110 scrollBy({ wheelEvent.deltaX(), -wheelEvent.deltaY() });110 scrollBy({ -wheelEvent.deltaX(), -wheelEvent.deltaY() }); 111 111 } 112 112 -
trunk/Source/WebCore/page/scrolling/nicosia/ScrollingTreeOverflowScrollingNodeNicosia.cpp
r255037 r258831 94 94 95 95 auto updateScope = compositionLayer.createUpdateScope(); 96 scrollBy({ wheelEvent.deltaX(), -wheelEvent.deltaY() });96 scrollBy({ -wheelEvent.deltaX(), -wheelEvent.deltaY() }); 97 97 } 98 98 -
trunk/Source/WebKit/ChangeLog
r258829 r258831 1 2020-03-23 Chris Lord <clord@igalia.com> 2 3 [WPE] AsyncScrolling: horizontal scrolling is inverted 4 https://bugs.webkit.org/show_bug.cgi?id=208638 5 6 Reviewed by Adrian Perez de Castro. 7 8 * UIProcess/API/wpe/ScrollGestureController.cpp: 9 (WebKit::ScrollGestureController::handleEvent): 10 1 11 2020-03-23 youenn fablet <youenn@apple.com> 2 12 -
trunk/Source/WebKit/UIProcess/API/wpe/ScrollGestureController.cpp
r256913 r258831 59 59 0, 0, 0, 60 60 }; 61 m_axisEvent.x_axis = m_offset.x - touchPoint->x;61 m_axisEvent.x_axis = -(m_offset.x - touchPoint->x); 62 62 m_axisEvent.y_axis = -(m_offset.y - touchPoint->y); 63 63 #else
Note: See TracChangeset
for help on using the changeset viewer.