imnodes: fixed compatibility with dear imgui 1.89.5

RefactorUnifiedBlendTreeStateMachineHandling
Martin Felis 2023-04-21 10:03:42 +02:00
parent c809fe0c8c
commit 2dbf8373a8
1 changed files with 1 additions and 2 deletions

View File

@ -6,10 +6,10 @@
// [SECTION] render helpers // [SECTION] render helpers
// [SECTION] API implementation // [SECTION] API implementation
#define IMGUI_DEFINE_MATH_OPERATORS
#include "imnodes.h" #include "imnodes.h"
#include "imnodes_internal.h" #include "imnodes_internal.h"
#define IMGUI_DEFINE_MATH_OPERATORS
#include <imgui_internal.h> #include <imgui_internal.h>
// Check minimum ImGui version // Check minimum ImGui version
@ -2345,7 +2345,6 @@ void EndNodeEditor()
ImGui::EndChild(); // end scrolling region ImGui::EndChild(); // end scrolling region
ImGui::PopStyleColor(); // pop child window background color ImGui::PopStyleColor(); // pop child window background color
ImGui::PopStyleVar(); // pop window padding ImGui::PopStyleVar(); // pop window padding
ImGui::PopStyleVar(); // pop frame padding
ImGui::EndGroup(); ImGui::EndGroup();
} }