Demo: Added Auto-Scroll option in Log/Console. Comments. Removed some ImColor() uses.

This commit is contained in:
omar
2019-02-14 14:00:30 +01:00
parent 8522a4bbea
commit 2206df9e7a
3 changed files with 67 additions and 21 deletions

View File

@ -9301,7 +9301,7 @@ void ImGui::ShowMetricsWindow(bool* p_open)
if (draw_list == ImGui::GetWindowDrawList())
{
ImGui::SameLine();
ImGui::TextColored(ImColor(255,100,100), "CURRENTLY APPENDING"); // Can't display stats for active draw list! (we don't have the data double-buffered)
ImGui::TextColored(ImVec4(1.0f,0.4f,0.4f,1.0f), "CURRENTLY APPENDING"); // Can't display stats for active draw list! (we don't have the data double-buffered)
if (node_open) ImGui::TreePop();
return;
}