From: Matti Tahvonen Date: Wed, 13 Apr 2011 11:56:41 +0000 (+0000) Subject: small tuning to what kind of touch gesture is used as a scroll X-Git-Tag: 6.7.0.beta1~344 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b551779356cd0ee81577e12dad57c2cb7ca3f071;p=vaadin-framework.git small tuning to what kind of touch gesture is used as a scroll svn changeset:18267/svn branch:6.6 --- 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) {