test do not pass touch event while multiTouchSupport.isInZoomMode() (2)
This commit is contained in:
parent
4a7bdd4694
commit
d567d52c93
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue