changeset 10:2a2592d97e56

fixed flicker by adding '-webkit-backface-visibility: hidden;'.
author Atul Varma <avarma@mozilla.com>
date Sun, 02 May 2010 19:06:10 -0700
parents 539e833834b2
children 838be764306f
files index.html
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/index.html	Sun May 02 18:16:19 2010 -0700
+++ b/index.html	Sun May 02 19:06:10 2010 -0700
@@ -36,6 +36,7 @@
   -webkit-transition-property: -webkit-transform;
   -webkit-transition-duration: 0.5s;
   -webkit-transition-timing-function: ease-out;
+  -webkit-backface-visibility: hidden;
 }
 
 .letter-prototype {
@@ -271,7 +272,7 @@
     $(node).bind("touchmove", function(event) {
       event.preventDefault();
       var currY = event.targetTouches[0].pageY;
-      accelerate((currY - startY) * 4);
+      accelerate((currY - startY) * 2);
       startY = currY;
       touchMoved = true;
     });