Fix e1f5be62: Clear font cache when toggling sprite font. (#11780)

This is necessary for the sprite font height and ascender to be updated correctly.
pull/642/head
Peter Nelson 4 months ago committed by GitHub
parent 32fc740582
commit 53fa54f8e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save