1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-28 02:50:06 +00:00

Separator() logs itself as text

This commit is contained in:
ocornut 2015-03-13 12:44:04 +00:00
parent 153454a0fb
commit 55093ea8fe

View file

@ -6487,6 +6487,10 @@ void ImGui::Separator()
window->DrawList->AddLine(bb.Min, bb.Max, window->Color(ImGuiCol_Border));
ImGuiState& g = *GImGui;
if (g.LogEnabled)
ImGui::LogText(STR_NEWLINE "--------------------------------");
if (window->DC.ColumnsCount > 1)
{
PushColumnClipRect();