mirror of https://github.com/OpenTTD/OpenTTD
Fix: Update widget dimensions before updating viewport signs. (#11611)
Viewport signs used fullbevel WidgetDimensions before it was updated for the new interface scale.pull/11600/head
parent
2d3af14181
commit
c1afbc9415
|
@ -1993,6 +1993,7 @@ bool AdjustGUIZoom(bool automatic)
|
||||||
ClearFontCache();
|
ClearFontCache();
|
||||||
LoadStringWidthTable();
|
LoadStringWidthTable();
|
||||||
|
|
||||||
|
SetupWidgetDimensions();
|
||||||
UpdateAllVirtCoords();
|
UpdateAllVirtCoords();
|
||||||
|
|
||||||
/* Adjust all window sizes to match the new zoom level, so that they don't appear
|
/* Adjust all window sizes to match the new zoom level, so that they don't appear
|
||||||
|
|
Loading…
Reference in New Issue