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:
parent
67b2b5f3a9
commit
0a6d6da732
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user