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