From a20c45862908b379a335b5eab61e8cf4e60baa71 Mon Sep 17 00:00:00 2001 From: GreenComfyTea Date: Tue, 26 Jul 2022 09:30:55 +0300 Subject: [PATCH] Fix Font changing in main window --- reframework/autorun/MHR_Overlay/UI/customization_menu.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reframework/autorun/MHR_Overlay/UI/customization_menu.lua b/reframework/autorun/MHR_Overlay/UI/customization_menu.lua index 46e1605..8dfc3eb 100644 --- a/reframework/autorun/MHR_Overlay/UI/customization_menu.lua +++ b/reframework/autorun/MHR_Overlay/UI/customization_menu.lua @@ -375,6 +375,8 @@ function customization_menu.draw() " " .. config.current_config.version, customization_menu.is_opened, customization_menu.window_flags); if not customization_menu.is_opened then + imgui.end_window(); + imgui.pop_font(); return; end