1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-12 17:19:09 +00:00

Fix: Update widget dimensions before updating viewport signs.

Viewport signs used fullbevel WidgetDimensions before it was updated for the new interface scale.
This commit is contained in:
2023-12-17 18:01:27 +00:00
parent 0ca4b4e146
commit 63d7caf9c6

View File

@@ -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