Mobile: To distinquish tap from swipe, I'm using the abs of the difference of 
the mouseloc on mousedown and mouseup….

private function _mouseMoved
put abs (the mouseV - item 2 of sStartLoc) into someDistance
put someDistance >= 10 into someBoolean
return someBoolean
end _mouseMoved

But this is quite "sluggish" on the any phone, meanwhile any straight forward

on mouseup
do something
end mouseup

is quite snappy.

Is there a better way to trap for swipe and immediately trigger a tap.

BR


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to