leave out wasMultiTouchinZoomMode again for now

This commit is contained in:
sonora 2016-12-27 21:03:19 +01:00
parent 85da441ed0
commit b03425fb19

View file

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