Changeset - r28286:e864898ab7d3
[Not reviewed]
master
0 1 0
Peter Nelson - 6 months ago 2023-12-13 19:51:44
peter1138@openttd.org
Fix 0a8bcdd: Scaling non-sprite fonts does not depend on _font_zoom changing. (#11579)
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/gfx.cpp
Show inline comments
 
@@ -1989,9 +1989,9 @@ bool AdjustGUIZoom(bool automatic)
 
	}
 
	if (old_font_zoom != _font_zoom) {
 
		GfxClearFontSpriteCache();
 
		ClearFontCache();
 
		LoadStringWidthTable();
 
	}
 
	ClearFontCache();
 
	LoadStringWidthTable();
 

	
 
	UpdateAllVirtCoords();
 

	
0 comments (0 inline, 0 general)