Browse Source

Demo: Log: removed unnecessary style change,

ocornut 10 years ago
parent
commit
0a6d6da732
1 changed files with 0 additions and 2 deletions
  1. 0 2
      imgui_demo.cpp

+ 0 - 2
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();
     }