avoid false touches during operations
This commit is contained in:
parent
b03425fb19
commit
3674025076
1 changed files with 3 additions and 3 deletions
|
@ -855,12 +855,12 @@ public class OsmandMapTileView implements IMapDownloaderCallback {
|
|||
if (event.getAction() == MotionEvent.ACTION_DOWN) {
|
||||
animatedDraggingThread.stopAnimating();
|
||||
}
|
||||
for (int i = layers.size() - 1; i >= 0; i--) {
|
||||
layers.get(i).onTouchEvent(event, getCurrentRotatedTileBox());
|
||||
}
|
||||
final boolean isMultiTouch = multiTouchSupport.onTouchEvent(event);
|
||||
doubleTapScaleDetector.onTouchEvent(event);
|
||||
if (!isMultiTouch && !doubleTapScaleDetector.isInZoomMode()) {
|
||||
for (int i = layers.size() - 1; i >= 0; i--) {
|
||||
layers.get(i).onTouchEvent(event, getCurrentRotatedTileBox());
|
||||
}
|
||||
gestureDetector.onTouchEvent(event);
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue