Title: [114384] trunk/Source/WebKit2
Revision
114384
Author
[email protected]
Date
2012-04-17 09:10:38 -0700 (Tue, 17 Apr 2012)

Log Message

REGRESSION(r113172) Wheel events are scrolling inversed.
https://bugs.webkit.org/show_bug.cgi?id=84156

Patch by Allan Sandfeld Jensen <[email protected]> on 2012-04-17
Reviewed by Simon Hausmann.

* UIProcess/qt/QtViewportInteractionEngine.cpp:
(WebKit::QtViewportInteractionEngine::wheelEvent):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (114383 => 114384)


--- trunk/Source/WebKit2/ChangeLog	2012-04-17 15:50:20 UTC (rev 114383)
+++ trunk/Source/WebKit2/ChangeLog	2012-04-17 16:10:38 UTC (rev 114384)
@@ -1,3 +1,13 @@
+2012-04-17  Allan Sandfeld Jensen  <[email protected]>
+
+        REGRESSION(r113172) Wheel events are scrolling inversed.
+        https://bugs.webkit.org/show_bug.cgi?id=84156
+
+        Reviewed by Simon Hausmann.
+
+        * UIProcess/qt/QtViewportInteractionEngine.cpp:
+        (WebKit::QtViewportInteractionEngine::wheelEvent):
+
 2012-04-17  Balazs Kelemen  <[email protected]>
 
         [Qt] Unreviewed ARM build fix

Modified: trunk/Source/WebKit2/UIProcess/qt/QtViewportInteractionEngine.cpp (114383 => 114384)


--- trunk/Source/WebKit2/UIProcess/qt/QtViewportInteractionEngine.cpp	2012-04-17 15:50:20 UTC (rev 114383)
+++ trunk/Source/WebKit2/UIProcess/qt/QtViewportInteractionEngine.cpp	2012-04-17 16:10:38 UTC (rev 114384)
@@ -270,9 +270,9 @@
     QPointF newPosition = m_viewport->contentPos();
 
     if (ev->orientation() == Qt::Horizontal)
-        newPosition.rx() += delta;
+        newPosition.rx() -= delta;
     else
-        newPosition.ry() += delta;
+        newPosition.ry() -= delta;
 
     QRectF endPosRange = computePosRangeForItemAtScale(m_content->contentsScale());
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to