Add thread color box to CPU data on timeline.

This commit is contained in:
Bartosz Taudul 2019-09-24 23:46:54 +02:00
parent a7e3324eba
commit 9c86102bad

View File

@ -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