mirror of
https://github.com/ocornut/imgui.git
synced 2026-05-22 04:44:34 +00:00
Separator(): enforce a minimum border size if style.SeparatorSize is 0.0f. (#9369)
This commit is contained in:
@@ -1728,7 +1728,7 @@ void ImGui::Separator()
|
||||
if (window->DC.CurrentColumns)
|
||||
flags |= ImGuiSeparatorFlags_SpanAllColumns;
|
||||
|
||||
SeparatorEx(flags, g.Style.SeparatorSize);
|
||||
SeparatorEx(flags, ImMax(g.Style.SeparatorSize, 1.0f));
|
||||
}
|
||||
|
||||
void ImGui::SeparatorTextEx(ImGuiID id, const char* label, const char* label_end, float extra_w)
|
||||
|
||||
Reference in New Issue
Block a user