From 6490b252f5e006950766eaee4293e19f805e0861 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Thu, 8 Apr 2021 17:16:23 +0100 Subject: [PATCH] Fix changing font zoom not updating font height cache --- src/gfx.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gfx.cpp b/src/gfx.cpp index 6f165ab013..5f398b6d12 100644 --- a/src/gfx.cpp +++ b/src/gfx.cpp @@ -2192,6 +2192,8 @@ void UpdateGUIZoom() } else { _font_zoom = static_cast(_font_zoom_cfg); } + + UpdateFontHeightCache(); } void ChangeGameSpeed(bool enable_fast_forward)