From b551779356cd0ee81577e12dad57c2cb7ca3f071 Mon Sep 17 00:00:00 2001 From: Matti Tahvonen Date: Wed, 13 Apr 2011 11:56:41 +0000 Subject: [PATCH] small tuning to what kind of touch gesture is used as a scroll svn changeset:18267/svn branch:6.6 --- src/com/vaadin/terminal/gwt/client/ui/TouchScrollDelegate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.5