From 9b323a7ebfab1c0ce5840f1c2ed64f30c892d44e Mon Sep 17 00:00:00 2001 From: omar Date: Fri, 25 Oct 2019 11:05:14 +0200 Subject: [PATCH] SplitterBehavior: not using FrameRounding in render (was in first commit of the function, not sure why). (#319) --- imgui_widgets.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui_widgets.cpp b/imgui_widgets.cpp index ca98f3ce..958a6904 100644 --- a/imgui_widgets.cpp +++ b/imgui_widgets.cpp @@ -1348,7 +1348,7 @@ bool ImGui::SplitterBehavior(const ImRect& bb, ImGuiID id, ImGuiAxis axis, float // Render const ImU32 col = GetColorU32(held ? ImGuiCol_SeparatorActive : (hovered && g.HoveredIdTimer >= hover_visibility_delay) ? ImGuiCol_SeparatorHovered : ImGuiCol_Separator); - window->DrawList->AddRectFilled(bb_render.Min, bb_render.Max, col, g.Style.FrameRounding); + window->DrawList->AddRectFilled(bb_render.Min, bb_render.Max, col, 0.0f); return held; }