From b03425fb195e08e9946c21cd2e444b3b8508c3f4 Mon Sep 17 00:00:00 2001 From: sonora Date: Tue, 27 Dec 2016 21:03:19 +0100 Subject: [PATCH] leave out wasMultiTouchinZoomMode again for now --- OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java b/OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java index dad33d8f66..07a4d6f479 100644 --- a/OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java +++ b/OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java @@ -858,10 +858,9 @@ public class OsmandMapTileView implements IMapDownloaderCallback { for (int i = layers.size() - 1; i >= 0; i--) { layers.get(i).onTouchEvent(event, getCurrentRotatedTileBox()); } - final boolean wasMultiTouchinZoomMode = multiTouchSupport.isInZoomMode(); final boolean isMultiTouch = multiTouchSupport.onTouchEvent(event); doubleTapScaleDetector.onTouchEvent(event); - if (!isMultiTouch && !wasMultiTouchinZoomMode && !doubleTapScaleDetector.isInZoomMode()) { + if (!isMultiTouch && !doubleTapScaleDetector.isInZoomMode()) { gestureDetector.onTouchEvent(event); } return true;