function effectiveMove (config, gestureState) {
    if (gestureState.numberActiveTouches > 1) {
    // on iOS simulator, a pinch gesture(move with alt pressed) will not change gestureState.dx(always 0)
        return true;
    }

    let moveThreshold = MOVE_THRESHOLD;
    if (typeof config.moveThreshold === "number") {
        moveThreshold = config.minMoveDistance;
    }
    if (Math.abs(gestureState.dx) >= moveThreshold || Math.abs(gestureState.dy) >= moveThreshold) {
        return true;
    }
    return false;
}
/**
 * On Android devices, the default gesture responder is too sensitive that a single tap(no move intended) may trigger a move event.
 * We can use a moveThreshold config to avoid those unwanted move events.
 * @param config
 * @param gestureState
 * @returns {boolean}
 */
On Android devices, the default gesture responder is too sensitive that a single tap(no move intended) may trigger a move event.
We can use a moveThreshold config to avoid those unwanted move events.
@param config
@param gestureState
@returns {boolean}
On Android devices the default gesture responder is too sensitive that a single tap ( no move intended ) may trigger a move event . We can use a moveThreshold config to avoid those unwanted move events . @param config @param gestureState @returns { boolean }
function effectiveMove (config, gestureState) {
    if (gestureState.numberActiveTouches > 1) {
        return true;
    }
    let moveThreshold = MOVE_THRESHOLD;
    if (typeof config.moveThreshold === "number") {
        moveThreshold = config.minMoveDistance;
    }
    if (Math.abs(gestureState.dx) >= moveThreshold || Math.abs(gestureState.dy) >= moveThreshold) {
        return true;
    }
    return false;
}
function effectiveMove ( config , gestureState ) { if ( gestureState . numberActiveTouches > 1 ) { return true ; } let moveThreshold = MOVE_THRESHOLD ; if ( typeof config . moveThreshold === "number" ) { moveThreshold = config . minMoveDistance ; } if ( Math . abs ( gestureState . dx ) >= moveThreshold || Math . abs ( gestureState . dy ) >= moveThreshold ) { return true ; } return false ; }
On Android devices, the default gesture responder is too sensitive that a single tap(no move intended) may trigger a move event.
On Android devices the default gesture responder is too sensitive that a single tap ( no move intended ) may trigger a move event .
// on iOS simulator, a pinch gesture(move with alt pressed) will not change gestureState.dx(always 0)