changeset 9:539e833834b2

faster iphone scrolling
author Atul Varma <avarma@mozilla.com>
date Sun, 02 May 2010 18:16:19 -0700
parents 0cc8c5962c0b
children 2a2592d97e56
files index.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/index.html	Sun May 02 18:09:03 2010 -0700
+++ b/index.html	Sun May 02 18:16:19 2010 -0700
@@ -271,7 +271,7 @@
     $(node).bind("touchmove", function(event) {
       event.preventDefault();
       var currY = event.targetTouches[0].pageY;
-      accelerate((currY - startY) * 2);
+      accelerate((currY - startY) * 4);
       startY = currY;
       touchMoved = true;
     });