cancel simple gestures if multitouch is in use
This commit is contained in:
parent
2a5b69006a
commit
418976ffb1
1 changed files with 2 additions and 0 deletions
|
@ -862,6 +862,8 @@ public class OsmandMapTileView implements IMapDownloaderCallback {
|
|||
layers.get(i).onTouchEvent(event, getCurrentRotatedTileBox());
|
||||
}
|
||||
gestureDetector.onTouchEvent(event);
|
||||
} else {
|
||||
gestureDetector.onTouchEvent(MotionEvent.obtain(SystemClock.uptimeMillis(), SystemClock.uptimeMillis() + 100, MotionEvent.ACTION_CANCEL, 0.0f, 0.0f, 0));
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue