fix end zoom behavior for double tap

This commit is contained in:
Hardy 2017-01-01 12:40:22 +01:00 committed by GitHub
parent d73c655e20
commit 3dbef6d690

View file

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