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:
Peter Nelson 2023-12-20 22:10:05 +00:00 committed by GitHub
parent 2d3af14181
commit c1afbc9415
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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