From 0a6d6da732cce1ba26a65181df2e3c28129ab128 Mon Sep 17 00:00:00 2001 From: ocornut Date: Thu, 13 Aug 2015 22:11:32 -0600 Subject: [PATCH] Demo: Log: removed unnecessary style change, --- imgui_demo.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/imgui_demo.cpp b/imgui_demo.cpp index 66d4dbc3..dfd85f3c 100644 --- a/imgui_demo.cpp +++ b/imgui_demo.cpp @@ -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(); }