imnodes: fixed compatibility with dear imgui 1.89.5
parent
c809fe0c8c
commit
2dbf8373a8
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue