Skip to content

Commit 5f7cd7f

Browse files
committed
Internals: Splitter Behavior doesn't show a border. (#319)
1 parent be6384e commit 5f7cd7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

imgui.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -10343,7 +10343,7 @@ bool ImGui::SplitterBehavior(ImGuiID id, const ImRect& bb, ImGuiAxis axis, float
1034310343

1034410344
// Render
1034510345
const ImU32 col = GetColorU32(held ? ImGuiCol_SeparatorActive : hovered ? ImGuiCol_SeparatorHovered : ImGuiCol_Separator);
10346-
RenderFrame(bb_render.Min, bb_render.Max, col, true, g.Style.FrameRounding);
10346+
window->DrawList->AddRectFilled(bb_render.Min, bb_render.Max, col, g.Style.FrameRounding);
1034710347

1034810348
return held;
1034910349
}

0 commit comments

Comments
 (0)