From 9c86102bad348f1af4008a69993cd0262592414c Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 24 Sep 2019 23:46:54 +0200 Subject: [PATCH] Add thread color box to CPU data on timeline. --- server/TracyView.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index b5bd1922..1c800311 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -4435,6 +4435,8 @@ int View::DrawCpuData( int offset, double pxns, const ImVec2& wpos, bool hover, TextFocused( "Thread:", m_worker.GetThreadName( thread ) ); ImGui::SameLine(); ImGui::TextDisabled( "(%s)", RealToString( thread, true ) ); + ImGui::SameLine(); + SmallColorBox( GetThreadColor( thread, 0 ) ); m_drawThreadMigrations = thread; } else