From 39e946a68211afbd000d0b95fdc6e92200f338e6 Mon Sep 17 00:00:00 2001 From: sonora Date: Sat, 31 Dec 2016 15:52:10 +0100 Subject: [PATCH] leave fix --- OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java b/OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java index 514816097e..653124b830 100644 --- a/OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java +++ b/OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java @@ -1061,13 +1061,13 @@ public class OsmandMapTileView implements IMapDownloaderCallback { if (baseZoom > getMaxZoom()) { return false; } - if (baseZoom > getMaxZoom() - 1 && dz > 1) { + if (baseZoom > getMaxZoom() - 1 && dz >= 1) { return false; } if (baseZoom < getMinZoom()) { return false; } - if (baseZoom < getMinZoom() + 1 && dz < -1) { + if (baseZoom < getMinZoom() + 1 && dz <= -1) { return false; } return true;