Commit 44ad6b9a authored by Georges Basile Stavracas Neto's avatar Georges Basile Stavracas Neto
Browse files

viewport: Fix min zoom level check

Probably a copy-paste mistake, it checks if the current zoom level
is bigger than the new minimum zoom level, but it should check the
parent ba5654bc
......@@ -382,7 +382,7 @@ shumate_viewport_set_min_zoom_level (ShumateViewport *self,
if (self->min_zoom_level == min_zoom_level)
if (self->zoom_level > min_zoom_level)
if (self->zoom_level < min_zoom_level)
shumate_viewport_set_zoom_level (self, min_zoom_level);
self->min_zoom_level = min_zoom_level;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment