block 'tilt' gesture only when 'rotation' is active
This commit is contained in:
parent
e69bebb2c5
commit
7b87e8fdc1
@ -238,7 +238,7 @@ final class TouchHandler implements OnGestureListener, OnDoubleTapListener {
|
|||||||
changed = mMapPosition.scaleMap(scale, fx, fy);
|
changed = mMapPosition.scaleMap(scale, fx, fy);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!mBeginScale && !mBeginRotate && Math.abs(slope) < 1) {
|
if (!mBeginRotate && Math.abs(slope) < 1) {
|
||||||
float my2 = y2 - mPrevY2;
|
float my2 = y2 - mPrevY2;
|
||||||
float threshold = PINCH_TILT_THRESHOLD;
|
float threshold = PINCH_TILT_THRESHOLD;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user