prevent gesture detection in doubletap mode

This commit is contained in:
sonora 2016-12-31 10:06:38 +01:00
parent 86f40acbe8
commit 7ac52a3cfa

View file

@ -862,7 +862,9 @@ public class OsmandMapTileView implements IMapDownloaderCallback {
layers.get(i).onTouchEvent(event, getCurrentRotatedTileBox());
}
}
gestureDetector.onTouchEvent(event);
if (!doubleTapScaleDetector.isInZoomMode()) {
gestureDetector.onTouchEvent(event);
}
return true;
}