From eb68f866444df9db3b5512951d429b9e699895b3 Mon Sep 17 00:00:00 2001 From: sonora Date: Thu, 29 Dec 2016 17:58:58 +0100 Subject: [PATCH] test passing events to all laysers --- OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java b/OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java index ba4a4e555a..1aa0510742 100644 --- a/OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java +++ b/OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java @@ -857,11 +857,11 @@ public class OsmandMapTileView implements IMapDownloaderCallback { } final boolean isMultiTouch = multiTouchSupport.onTouchEvent(event); doubleTapScaleDetector.onTouchEvent(event); - if (!isMultiTouch && !doubleTapScaleDetector.isInZoomMode()) { + //if (!isMultiTouch && !doubleTapScaleDetector.isInZoomMode()) { for (int i = layers.size() - 1; i >= 0; i--) { layers.get(i).onTouchEvent(event, getCurrentRotatedTileBox()); } - } + //} gestureDetector.onTouchEvent(event); return true; }