From 56e9f5962cc9fffe5fc8a6287369313ef4dfc565 Mon Sep 17 00:00:00 2001 From: Grinch_ Date: Mon, 13 Dec 2021 15:41:46 -0600 Subject: [PATCH] Fix minor ui bug --- src/ui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui.cpp b/src/ui.cpp index 40da51a..8a6f68c 100644 --- a/src/ui.cpp +++ b/src/ui.cpp @@ -228,7 +228,7 @@ void Ui::DrawHeaders(CallbackTable& data) { static void* pCallback; static int buttonInRow = 3; - static ImVec2 size = GetSize(buttonInRow, false); + ImVec2 size = GetSize(buttonInRow, false); ImGuiStyle &style = ImGui::GetStyle(); ImVec4 buttonCol = style.Colors[ImGuiCol_Button];