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);
|
||||
doubleTapScaleDetector.onTouchEvent(event);
|
||||
if (!(isMultiTouch || doubleTapScaleDetector.isInZoomMode()
|
||||
|| doubleTapScaleDetector.isDoubleTapping())) {
|
||||
if (!(isMultiTouch || doubleTapScaleDetector.isInZoomMode())) {
|
||||
gestureDetector.onTouchEvent(event);
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue