Fix e2425b7
: Sprites no longer refreshed if max zoom level changed.
Handle this via AdjustGUIZoom() instead.
This commit is contained in:

committed by
Peter Nelson

parent
162ffc288d
commit
dc27f1649a
@@ -1980,7 +1980,7 @@ bool AdjustGUIZoom(bool automatic)
|
||||
ZoomLevel old_font_zoom = _font_zoom;
|
||||
int old_scale = _gui_scale;
|
||||
UpdateGUIZoom();
|
||||
if (old_scale == _gui_scale) return false;
|
||||
if (old_scale == _gui_scale && old_gui_zoom == _gui_zoom) return false;
|
||||
|
||||
/* Reload sprites if sprite zoom level has changed. */
|
||||
if (old_gui_zoom != _gui_zoom) {
|
||||
|
Reference in New Issue
Block a user