Do not fling if map move is disabled (#378)
This commit is contained in:
parent
d9f7638a25
commit
76d55bb1a0
@ -227,7 +227,8 @@ public class MapEventLayer2 extends AbstractMapEventLayer implements InputListen
|
|||||||
vy *= t * t;
|
vy *= t * t;
|
||||||
vx *= t * t;
|
vx *= t * t;
|
||||||
}
|
}
|
||||||
doFling(vx, vy);
|
if (mEnableMove)
|
||||||
|
doFling(vx, vy);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (time - mStartDown > LONG_PRESS_THRESHOLD) {
|
if (time - mStartDown > LONG_PRESS_THRESHOLD) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user