mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-24 21:08:34 +01:00
Fix: Update widget dimensions before updating viewport signs. (#11611)
Viewport signs used fullbevel WidgetDimensions before it was updated for the new interface scale.
This commit is contained in:
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
Block a user