mirror of https://github.com/OpenTTD/OpenTTD
Fix 0a8bcdd: Scaling non-sprite fonts does not depend on _font_zoom changing. (#11579)
parent
8e05001001
commit
d6515d6c98
|
@ -1989,9 +1989,9 @@ bool AdjustGUIZoom(bool automatic)
|
||||||
}
|
}
|
||||||
if (old_font_zoom != _font_zoom) {
|
if (old_font_zoom != _font_zoom) {
|
||||||
GfxClearFontSpriteCache();
|
GfxClearFontSpriteCache();
|
||||||
|
}
|
||||||
ClearFontCache();
|
ClearFontCache();
|
||||||
LoadStringWidthTable();
|
LoadStringWidthTable();
|
||||||
}
|
|
||||||
|
|
||||||
UpdateAllVirtCoords();
|
UpdateAllVirtCoords();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue