test passing events to all laysers

This commit is contained in:
sonora 2016-12-29 17:58:58 +01:00
parent c2cc5c6696
commit eb68f86644

View file

@ -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;
}