[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
simon.fraser at apple.com
simon.fraser at apple.com
Wed Dec 22 13:27:21 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit 34192f94f85e18eca7915f15d965754fa53c55de
Author: simon.fraser at apple.com <simon.fraser at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Sep 16 01:13:09 2010 +0000
2010-09-15 Simon Fraser <simon.fraser at apple.com>
Reviewed by Sam Weinig.
<rdar://problem/8214099> Mousewheel scrolling in WebKit2 is wonky
Use floats so that fractional scrollwheel deltas don't get lost.
* Shared/mac/WebEventFactory.mm:
(WebKit::WebEventFactory::createWebWheelEvent):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67589 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit2/ChangeLog b/WebKit2/ChangeLog
index 86e7885..2d33a4a 100644
--- a/WebKit2/ChangeLog
+++ b/WebKit2/ChangeLog
@@ -1,3 +1,14 @@
+2010-09-15 Simon Fraser <simon.fraser at apple.com>
+
+ Reviewed by Sam Weinig.
+
+ <rdar://problem/8214099> Mousewheel scrolling in WebKit2 is wonky
+
+ Use floats so that fractional scrollwheel deltas don't get lost.
+
+ * Shared/mac/WebEventFactory.mm:
+ (WebKit::WebEventFactory::createWebWheelEvent):
+
2010-09-15 Sam Weinig <sam at webkit.org>
Reviewed by Jon Honeycutt.
diff --git a/WebKit2/Shared/mac/WebEventFactory.mm b/WebKit2/Shared/mac/WebEventFactory.mm
index 5dc594c..8e78ae6 100644
--- a/WebKit2/Shared/mac/WebEventFactory.mm
+++ b/WebKit2/Shared/mac/WebEventFactory.mm
@@ -987,10 +987,10 @@ WebWheelEvent WebEventFactory::createWebWheelEvent(NSEvent *event, NSView *windo
int globalPositionY = globalPosition.y;
WebWheelEvent::Granularity granularity = WebWheelEvent::ScrollByPixelWheelEvent;
- int deltaX = 0;
- int deltaY = 0;
- int wheelTicksX = 0;
- int wheelTicksY = 0;
+ float deltaX = 0;
+ float deltaY = 0;
+ float wheelTicksX = 0;
+ float wheelTicksY = 0;
if ([event _continuousScroll]) {
// smooth scroll events
deltaX = [event deviceDeltaX];
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list