Changed global system gesture slop to variable

This commit is contained in:
Pavel fljot 2012-06-01 13:51:15 +03:00
parent 8d870f4e93
commit 33108a1bc7

View file

@ -35,7 +35,7 @@ package org.gestouch.gestures
* (not an accidental offset on touch),
* based on 20 pixels on a 252ppi device.
*/
public static const DEFAULT_SLOP:uint = Math.round(20 / 252 * flash.system.Capabilities.screenDPI);
public static var DEFAULT_SLOP:uint = Math.round(20 / 252 * flash.system.Capabilities.screenDPI);
protected const _gesturesManager:GesturesManager = Gestouch.gesturesManager;