1
0
mirror of https://github.com/ocornut/imgui.git synced 2024-12-01 02:37:24 +01:00

Demo: Log: removed unnecessary style change,

This commit is contained in:
ocornut 2015-08-13 22:11:32 -06:00
parent 67b2b5f3a9
commit 0a6d6da732

View File

@ -1982,7 +1982,6 @@ struct ExampleAppLog
Filter.Draw("Filter", -100.0f);
ImGui::Separator();
ImGui::BeginChild("scrolling");
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(0,1));
if (copy) ImGui::LogToClipboard();
if (Filter.IsActive())
@ -2005,7 +2004,6 @@ struct ExampleAppLog
if (ScrollToBottom)
ImGui::SetScrollHere(1.0f);
ScrollToBottom = false;
ImGui::PopStyleVar();
ImGui::EndChild();
ImGui::End();
}