Recalculated route step sprite sizes when changing zoom levels

This commit is contained in:
Jonathan G Rennison
2022-08-20 10:02:31 +01:00
parent 84da7ad7b6
commit 8c0eca28a8
4 changed files with 5 additions and 1 deletions

View File

@@ -1252,6 +1252,7 @@ static void ZoomMinMaxChanged(int32 new_value)
/* Restrict GUI zoom if it is no longer available. */
_gui_zoom = _settings_client.gui.zoom_min;
UpdateCursorSize();
UpdateRouteStepSpriteSize();
UpdateFontHeightCache();
LoadStringWidthTable();
}