From d32df91bbba8c503c345043129ad38e94e2f5303 Mon Sep 17 00:00:00 2001 From: Leo Becker Date: Fri, 18 Mar 2022 09:42:05 +0100 Subject: [PATCH] removed third argument from ImGui::IsClippedEx() to match imgui commit 3973de793316e84bee8719bf29091df1ad61b514 --- imgui_canvas.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imgui_canvas.cpp b/imgui_canvas.cpp index df63a40d2..ac4c283ee 100644 --- a/imgui_canvas.cpp +++ b/imgui_canvas.cpp @@ -1,4 +1,4 @@ -# define IMGUI_DEFINE_MATH_OPERATORS +# define IMGUI_DEFINE_MATH_OPERATORS # include "imgui_canvas.h" # include @@ -101,7 +101,7 @@ bool ImGuiEx::Canvas::Begin(ImGuiID id, const ImVec2& size) UpdateViewTransformPosition(); - if (ImGui::IsClippedEx(m_WidgetRect, id, false)) + if (ImGui::IsClippedEx(m_WidgetRect, id)) return false; // Save current channel, so we can assert when user