1
0
mirror of synced 2025-02-17 18:59:21 +01:00

fix: Style var not being popped correctly

This commit is contained in:
WerWolv 2023-12-11 22:09:13 +01:00
parent ce27cb11a5
commit 17a7621342

View File

@ -552,6 +552,8 @@ namespace hex {
ImGui::GetWindowPos() + sidebarPos + ImGui::GetWindowSize() - ImVec2(dockSpaceSize.x + 1_scaled, footerHeight - ImGui::GetStyle().FramePadding.y - 1_scaled + menuBarHeight), ImGui::GetWindowPos() + sidebarPos + ImGui::GetWindowSize() - ImVec2(dockSpaceSize.x + 1_scaled, footerHeight - ImGui::GetStyle().FramePadding.y - 1_scaled + menuBarHeight),
ImGui::GetColorU32(ImGuiCol_Separator)); ImGui::GetColorU32(ImGuiCol_Separator));
} }
} else {
ImGui::PopStyleVar();
} }
ImGui::End(); ImGui::End();
ImGui::PopStyleVar(2); ImGui::PopStyleVar(2);