From 2dbf8373a8c87019f388ab7eb288d4994ff3842d Mon Sep 17 00:00:00 2001 From: Martin Felis Date: Fri, 21 Apr 2023 10:03:42 +0200 Subject: [PATCH] imnodes: fixed compatibility with dear imgui 1.89.5 --- 3rdparty/imnodes/imnodes.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/3rdparty/imnodes/imnodes.cpp b/3rdparty/imnodes/imnodes.cpp index 9e208bb..72f4a9b 100644 --- a/3rdparty/imnodes/imnodes.cpp +++ b/3rdparty/imnodes/imnodes.cpp @@ -6,10 +6,10 @@ // [SECTION] render helpers // [SECTION] API implementation +#define IMGUI_DEFINE_MATH_OPERATORS #include "imnodes.h" #include "imnodes_internal.h" -#define IMGUI_DEFINE_MATH_OPERATORS #include // Check minimum ImGui version @@ -2345,7 +2345,6 @@ void EndNodeEditor() ImGui::EndChild(); // end scrolling region ImGui::PopStyleColor(); // pop child window background color ImGui::PopStyleVar(); // pop window padding - ImGui::PopStyleVar(); // pop frame padding ImGui::EndGroup(); }