mirror of
https://github.com/ocornut/imgui.git
synced 2024-11-24 07:40:22 +01:00
SplitterBehavior: not using FrameRounding in render (was in first commit of the function, not sure why). (#319)
This commit is contained in:
parent
3c238ecae3
commit
9b323a7ebf
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user