leave out wasMultiTouchinZoomMode again for now
This commit is contained in:
parent
85da441ed0
commit
b03425fb19
1 changed files with 1 additions and 2 deletions
|
@ -858,10 +858,9 @@ public class OsmandMapTileView implements IMapDownloaderCallback {
|
||||||
for (int i = layers.size() - 1; i >= 0; i--) {
|
for (int i = layers.size() - 1; i >= 0; i--) {
|
||||||
layers.get(i).onTouchEvent(event, getCurrentRotatedTileBox());
|
layers.get(i).onTouchEvent(event, getCurrentRotatedTileBox());
|
||||||
}
|
}
|
||||||
final boolean wasMultiTouchinZoomMode = multiTouchSupport.isInZoomMode();
|
|
||||||
final boolean isMultiTouch = multiTouchSupport.onTouchEvent(event);
|
final boolean isMultiTouch = multiTouchSupport.onTouchEvent(event);
|
||||||
doubleTapScaleDetector.onTouchEvent(event);
|
doubleTapScaleDetector.onTouchEvent(event);
|
||||||
if (!isMultiTouch && !wasMultiTouchinZoomMode && !doubleTapScaleDetector.isInZoomMode()) {
|
if (!isMultiTouch && !doubleTapScaleDetector.isInZoomMode()) {
|
||||||
gestureDetector.onTouchEvent(event);
|
gestureDetector.onTouchEvent(event);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue