mirror of
https://github.com/Drezil/imgui.git
synced 2024-12-18 06:06:35 +00: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);
|
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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user