From 5f7cd7fb1c0793e5581e9914a39c53f327262a64 Mon Sep 17 00:00:00 2001 From: omar Date: Thu, 30 Nov 2017 18:02:42 +0100 Subject: [PATCH] Internals: Splitter Behavior doesn't show a border. (#319) --- imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui.cpp b/imgui.cpp index f31b99d8b..de781c5f8 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -10343,7 +10343,7 @@ bool ImGui::SplitterBehavior(ImGuiID id, const ImRect& bb, ImGuiAxis axis, float // Render const ImU32 col = GetColorU32(held ? ImGuiCol_SeparatorActive : hovered ? ImGuiCol_SeparatorHovered : ImGuiCol_Separator); - RenderFrame(bb_render.Min, bb_render.Max, col, true, g.Style.FrameRounding); + window->DrawList->AddRectFilled(bb_render.Min, bb_render.Max, col, g.Style.FrameRounding); return held; }