1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-12 17:19:09 +00:00

Fix 0a8bcdd: Scaling non-sprite fonts does not depend on _font_zoom changing. (#11579)

This commit is contained in:
2023-12-13 19:51:44 +00:00
committed by GitHub
parent 8e05001001
commit d6515d6c98

View File

@@ -1989,9 +1989,9 @@ bool AdjustGUIZoom(bool automatic)
}
if (old_font_zoom != _font_zoom) {
GfxClearFontSpriteCache();
}
ClearFontCache();
LoadStringWidthTable();
}
UpdateAllVirtCoords();