Fix double-tap-zoom when click on map object
This commit is contained in:
parent
83ac11a121
commit
153aadc0a4
1 changed files with 1 additions and 2 deletions
|
@ -828,8 +828,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 (!(isMultiTouch || doubleTapScaleDetector.isInZoomMode()
|
if (!(isMultiTouch || doubleTapScaleDetector.isInZoomMode())) {
|
||||||
|| doubleTapScaleDetector.isDoubleTapping())) {
|
|
||||||
gestureDetector.onTouchEvent(event);
|
gestureDetector.onTouchEvent(event);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue