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

This commit is contained in:
sonora 2016-12-27 13:16:03 +01:00
parent 3abe756c61
commit 4a7bdd4694

View file

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