From 1bb8b636b9b2936b045d9b1ac2b947632bf07c08 Mon Sep 17 00:00:00 2001 From: Bruno Herbelin Date: Sat, 8 Jan 2022 15:04:31 +0100 Subject: [PATCH] Bugfix pop font --- ImGuiToolkit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ImGuiToolkit.cpp b/ImGuiToolkit.cpp index bae6ee3..f7b79ae 100644 --- a/ImGuiToolkit.cpp +++ b/ImGuiToolkit.cpp @@ -535,8 +535,8 @@ void showToolTip(const char* desc, const char* shortcut) ImGui::Text(shortcut); ImGui::PopStyleColor(); } - ImGui::PopFont(); ImGui::EndTooltip(); + ImGui::PopFont(); } void ImGuiToolkit::ToolTip(const char* desc, const char* shortcut)