1
0
Fork 0

Fix e1f5be62: Clear font cache when toggling sprite font.

This is necessary for the sprite font height and ascender to be updated correctly.
pull/11780/head
Peter Nelson 2024-01-14 23:48:33 +00:00
parent 994bdff81e
commit 907cf561d5
No known key found for this signature in database
GPG Key ID: 8EF8F0A467DF75ED
1 changed files with 1 additions and 0 deletions

View File

@ -573,6 +573,7 @@ struct GameOptionsWindow : Window {
InitFontCache(false);
InitFontCache(true);
ClearFontCache();
SetupWidgetDimensions();
ReInitAllWindows(true);
break;