Bug 495439: Kinetic scrolling just doesn't work at all, r=stuart
authorMark Finkle <mfinkle@mozilla.com>
Fri, 29 May 2009 10:01:54 -0400
changeset 65230 7fc132161859610d77b5feba4fabc4de7b2865e4
parent 65229 7ebfa7eef8498e0198253e5fa3348fb3794f996e
child 65231 0a88339baaf4e01bc5477caf5b9388381fad2a6d
push idunknown
push userunknown
push dateunknown
reviewersstuart
bugs495439
Bug 495439: Kinetic scrolling just doesn't work at all, r=stuart
mobile/chrome/content/InputHandler.js
--- a/mobile/chrome/content/InputHandler.js
+++ b/mobile/chrome/content/InputHandler.js
@@ -515,18 +515,18 @@ KineticData.prototype = {
 
       tempX += (me.sx - prev.sx) / (me.t - prev.t);
       tempY += (me.sy - prev.sy) / (me.t - prev.t);
 
       prev = me;
     }
 
     // average the speeds out (this could probably be a bit smarter)
-    this.speedX = tempX / mblen;
-    this.speedY = tempY / mblen;
+    this._speedX = tempX / mblen;
+    this._speedY = tempY / mblen;
 
     // fire off our kinetic timer which will do all the work
     this._startKineticTimer();
 
     return true;
   },
 
   endKinetic: function endKinetic() {