Changeset - r28317:2ce013b13bc5
[Not reviewed]
master
0 1 0
Peter Nelson - 6 months ago 2023-12-20 22:10:05
peter1138@openttd.org
Fix: Update widget dimensions before updating viewport signs. (#11611)

Viewport signs used fullbevel WidgetDimensions before it was updated for the new interface scale.
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/gfx.cpp
Show inline comments
 
@@ -1993,6 +1993,7 @@ bool AdjustGUIZoom(bool automatic)
 
	ClearFontCache();
 
	LoadStringWidthTable();
 

	
 
	SetupWidgetDimensions();
 
	UpdateAllVirtCoords();
 

	
 
	/* Adjust all window sizes to match the new zoom level, so that they don't appear
0 comments (0 inline, 0 general)