summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2011-04-13 11:56:41 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2011-04-13 11:56:41 +0000
commitb551779356cd0ee81577e12dad57c2cb7ca3f071 (patch)
tree48869474d62d1040693a30cdc4f37fe6012e6c8d
parent16aae528a8986c2c25b60341a77366a68f5aaa2f (diff)
downloadvaadin-framework-b551779356cd0ee81577e12dad57c2cb7ca3f071.tar.gz
vaadin-framework-b551779356cd0ee81577e12dad57c2cb7ca3f071.zip
small tuning to what kind of touch gesture is used as a scroll
svn changeset:18267/svn branch:6.6
-rw-r--r--src/com/vaadin/terminal/gwt/client/ui/TouchScrollDelegate.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/TouchScrollDelegate.java b/src/com/vaadin/terminal/gwt/client/ui/TouchScrollDelegate.java
index 9d856b2cbe..7f00d184f1 100644
--- a/src/com/vaadin/terminal/gwt/client/ui/TouchScrollDelegate.java
+++ b/src/com/vaadin/terminal/gwt/client/ui/TouchScrollDelegate.java
@@ -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) {