Separator() logs itself as text

features/sdl_renderer3_multiviewports
ocornut ago%!(EXTRA string=10 years)
parent 153454a0fb
commit 55093ea8fe
  1. 4
      imgui.cpp

@ -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();

Loading…
Cancel
Save