reset isZoomingAlllowed as it was

This commit is contained in:
sonora 2016-12-31 15:31:54 +01:00
parent 7ac52a3cfa
commit cc58d0a58a

View file

@ -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;