From 3dbef6d6908508c983d76c70ac1f74a8eba261c4 Mon Sep 17 00:00:00 2001 From: Hardy Date: Sun, 1 Jan 2017 12:40:22 +0100 Subject: [PATCH] fix end zoom behavior for double tap --- OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java b/OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java index aec9ba580d..f78d82a844 100644 --- a/OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java +++ b/OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java @@ -219,7 +219,7 @@ public class OsmandMapTileView implements IMapDownloaderCallback { @Override public void onTwoFingerTap() { //afterTwoFingersTap = true; - if (isZoomingAllowed(getZoom(), -1)) { + if (isZoomingAllowed(getZoom(), -1.1f)) { getAnimatedDraggingThread().startZooming(getZoom() - 1, currentViewport.getZoomFloatPart(), true); } }