From cbf392c889b054dbbd3cc8303676e0031b4a4242 Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Sat, 29 Nov 2008 10:38:27 -0600 Subject: [PATCH] Use new distance word --- basis/ui/gestures/gestures.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basis/ui/gestures/gestures.factor b/basis/ui/gestures/gestures.factor index ffb9795ef8..5faaa93292 100644 --- a/basis/ui/gestures/gestures.factor +++ b/basis/ui/gestures/gestures.factor @@ -205,7 +205,7 @@ SYMBOL: drag-timer dup hand-last-button get = ; : multi-click-position? ( -- ? ) - hand-loc get hand-click-loc get v- norm-sq 100 <= ; + hand-loc get hand-click-loc get distance 10 <= ; : multi-click? ( button -- ? ) {