prevent small screen flings after double tap zoom

This commit is contained in:
sonora 2016-12-31 16:58:42 +01:00
parent 55eee5ad0e
commit 012992c2b6

View file

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