Fix font height cache when changing GUI scaling.
This commit is contained in:
@@ -528,9 +528,11 @@ struct GameOptionsWindow : Window {
|
||||
break;
|
||||
|
||||
case WID_GO_GUI_ZOOM_DROPDOWN:
|
||||
extern void UpdateFontHeightCache();
|
||||
GfxClearSpriteCache();
|
||||
_gui_zoom = (ZoomLevel)(ZOOM_LVL_OUT_4X - index);
|
||||
UpdateCursorSize();
|
||||
UpdateFontHeightCache();
|
||||
LoadStringWidthTable();
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user