keep map linked on 2-finger tap

This commit is contained in:
sonora 2017-01-03 08:54:40 +01:00
parent 3fc2084158
commit 54b1716eae

View file

@ -220,7 +220,7 @@ public class OsmandMapTileView implements IMapDownloaderCallback {
public void onTwoFingerTap() {
//afterTwoFingersTap = true;
if (isZoomingAllowed(getZoom(), -1.1f)) {
getAnimatedDraggingThread().startZooming(getZoom() - 1, currentViewport.getZoomFloatPart(), true);
getAnimatedDraggingThread().startZooming(getZoom() - 1, currentViewport.getZoomFloatPart(), false);
}
}
};