Changeset 275083 in webkit
- Timestamp:
- Mar 26, 2021, 1:08:03 AM (5 years ago)
- Location:
- releases/WebKitGTK/webkit-2.32/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
page/scrolling/nicosia/ScrollingTreeNicosia.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
releases/WebKitGTK/webkit-2.32/Source/WebCore/ChangeLog
r275043 r275083 1 2021-03-26 Alejandro G. Castro <alex@igalia.com> 2 3 [GTK][WPE] Wrong frame scrolled when view is horizontally scrolled with async scrolling enabled 4 https://bugs.webkit.org/show_bug.cgi?id=222900 5 6 Reviewed by Carlos Garcia Campos. 7 8 We need to use the scrolling offset in the parent when collecting 9 the descendant layers at a point. We substract the boundsOrigin to 10 make sure we transform the point considering the scrolling offset. 11 12 * page/scrolling/nicosia/ScrollingTreeNicosia.cpp: 13 (WebCore::collectDescendantLayersAtPoint): 14 1 15 2021-03-18 Carlos Garcia Campos <cgarcia@igalia.com> 2 16 -
releases/WebKitGTK/webkit-2.32/Source/WebCore/page/scrolling/nicosia/ScrollingTreeNicosia.cpp
r270501 r275083 95 95 float originY = childState.anchorPoint.y() * childState.size.height(); 96 96 auto transform = *(TransformationMatrix() 97 .translate3d(originX + childState.position.x() , originY + childState.position.y(), childState.anchorPoint.z())97 .translate3d(originX + childState.position.x() - state.boundsOrigin.x(), originY + childState.position.y() - state.boundsOrigin.y(), childState.anchorPoint.z()) 98 98 .multiply(childState.transform) 99 99 .translate3d(-originX, -originY, -childState.anchorPoint.z()).inverse());
Note:
See TracChangeset
for help on using the changeset viewer.