Title: [279716] releases/WebKitGTK/webkit-2.32/Source/WebCore
Revision
279716
Author
[email protected]
Date
2021-07-08 01:18:18 -0700 (Thu, 08 Jul 2021)

Log Message

Merge r277539 - [GTK] REGRESSION: Kinetic scrolling on touchpad doesn't work with async scrolling off
https://bugs.webkit.org/show_bug.cgi?id=224182

Patch by Alexander Mikhaylenko <[email protected]> on 2021-05-15
Reviewed by Michael Catanzaro.

Don't clear the scroll history every time we scroll, that defeats the whole point of having
the scroll history.

* platform/generic/ScrollAnimatorGeneric.cpp:
(WebCore::ScrollAnimatorGeneric::scrollToPositionWithoutAnimation):

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.32/Source/WebCore/ChangeLog (279715 => 279716)


--- releases/WebKitGTK/webkit-2.32/Source/WebCore/ChangeLog	2021-07-08 07:41:48 UTC (rev 279715)
+++ releases/WebKitGTK/webkit-2.32/Source/WebCore/ChangeLog	2021-07-08 08:18:18 UTC (rev 279716)
@@ -1,3 +1,16 @@
+2021-05-15  Alexander Mikhaylenko  <[email protected]>
+
+        [GTK] REGRESSION: Kinetic scrolling on touchpad doesn't work with async scrolling off
+        https://bugs.webkit.org/show_bug.cgi?id=224182
+
+        Reviewed by Michael Catanzaro.
+
+        Don't clear the scroll history every time we scroll, that defeats the whole point of having
+        the scroll history.
+
+        * platform/generic/ScrollAnimatorGeneric.cpp:
+        (WebCore::ScrollAnimatorGeneric::scrollToPositionWithoutAnimation):
+
 2021-06-15  Philippe Normand  <[email protected]>
 
         [GStreamer] Another crash under gst_element_add_pad

Modified: releases/WebKitGTK/webkit-2.32/Source/WebCore/platform/generic/ScrollAnimatorGeneric.cpp (279715 => 279716)


--- releases/WebKitGTK/webkit-2.32/Source/WebCore/platform/generic/ScrollAnimatorGeneric.cpp	2021-07-08 07:41:48 UTC (rev 279715)
+++ releases/WebKitGTK/webkit-2.32/Source/WebCore/platform/generic/ScrollAnimatorGeneric.cpp	2021-07-08 08:18:18 UTC (rev 279716)
@@ -112,7 +112,6 @@
 bool ScrollAnimatorGeneric::scrollToPositionWithoutAnimation(const FloatPoint& position, ScrollClamping clamping)
 {
     m_kineticAnimation->stop();
-    m_kineticAnimation->clearScrollHistory();
 
 #if ENABLE(SMOOTH_SCROLLING)
     if (m_smoothAnimation)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to