Recalculated route step sprite sizes when changing zoom levels
This commit is contained in:
@@ -604,6 +604,7 @@ struct GameOptionsWindow : Window {
|
||||
_gui_zoom_cfg = new_zoom;
|
||||
UpdateGUIZoom();
|
||||
UpdateCursorSize();
|
||||
UpdateRouteStepSpriteSize();
|
||||
UpdateAllVirtCoords();
|
||||
FixTitleGameZoom();
|
||||
ReInitAllWindows(true);
|
||||
@@ -618,6 +619,7 @@ struct GameOptionsWindow : Window {
|
||||
GfxClearSpriteCache();
|
||||
_font_zoom_cfg = new_zoom;
|
||||
UpdateGUIZoom();
|
||||
UpdateRouteStepSpriteSize();
|
||||
LoadStringWidthTable();
|
||||
UpdateAllVirtCoords();
|
||||
ReInitAllWindows(true);
|
||||
|
Reference in New Issue
Block a user