test do not pass touch event while multiTouchSupport.isInZoomMode() (2)

This commit is contained in:
sonora 2016-12-27 13:49:42 +01:00
parent 4a7bdd4694
commit d567d52c93

View file

@ -860,7 +860,7 @@ public class OsmandMapTileView implements IMapDownloaderCallback {
} }
final boolean isMultiTouch = multiTouchSupport.onTouchEvent(event); final boolean isMultiTouch = multiTouchSupport.onTouchEvent(event);
doubleTapScaleDetector.onTouchEvent(event); doubleTapScaleDetector.onTouchEvent(event);
if (!(multiTouchSupport.isInZoomMode() || isMultiTouch || doubleTapScaleDetector.isInZoomMode())) { if (!isMultiTouch && !multiTouchSupport.isInZoomMode() && !doubleTapScaleDetector.isInZoomMode()) {
gestureDetector.onTouchEvent(event); gestureDetector.onTouchEvent(event);
} }
return true; return true;