This commit is contained in:
sonora 2016-12-27 17:03:25 +01:00
parent a45428f006
commit 641df18cc9

View file

@ -861,7 +861,7 @@ public class OsmandMapTileView implements IMapDownloaderCallback {
final boolean wasMultiTouchinZoomMode = multiTouchSupport.isInZoomMode();
final boolean isMultiTouch = multiTouchSupport.onTouchEvent(event);
doubleTapScaleDetector.onTouchEvent(event);
if (!isMultiTouch && !wasMultiTouchZoomMode && !doubleTapScaleDetector.isInZoomMode()) {
if (!isMultiTouch && !wasMultiTouchinZoomMode && !doubleTapScaleDetector.isInZoomMode()) {
gestureDetector.onTouchEvent(event);
}
return true;