mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-06 04:58:47 +02:00
Separator() logs itself as text
This commit is contained in:
@ -6487,6 +6487,10 @@ void ImGui::Separator()
|
|||||||
|
|
||||||
window->DrawList->AddLine(bb.Min, bb.Max, window->Color(ImGuiCol_Border));
|
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)
|
if (window->DC.ColumnsCount > 1)
|
||||||
{
|
{
|
||||||
PushColumnClipRect();
|
PushColumnClipRect();
|
||||||
|
Reference in New Issue
Block a user