]> source.dussan.org Git - vaadin-framework.git/commitdiff
small tuning to what kind of touch gesture is used as a scroll
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Wed, 13 Apr 2011 11:56:41 +0000 (11:56 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Wed, 13 Apr 2011 11:56:41 +0000 (11:56 +0000)
svn changeset:18267/svn branch:6.6

src/com/vaadin/terminal/gwt/client/ui/TouchScrollDelegate.java

index 9d856b2cbe5c37d8254d800c8677d3e1bacf96ef..7f00d184f1af5425018e539e5f8361c0e26f81cf 100644 (file)
@@ -302,7 +302,7 @@ public class TouchScrollDelegate implements NativePreviewHandler {
 
     private boolean isMovedSignificantly() {
         return moved ? moved
-                : Math.abs(origY - lastClientY) > SIGNIFICANT_MOVE_THRESHOLD;
+                : Math.abs(origY - lastClientY) >= SIGNIFICANT_MOVE_THRESHOLD;
     }
 
     private void onTouchEnd(NativeEvent event) {