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:
2023-12-20 22:10:05 +00:00
committed by GitHub
parent 2d3af14181
commit c1afbc9415

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