1
0
mirror of https://github.com/wolfpld/tracy synced 2025-05-09 16:23:54 +00:00

Add thread color boxes to messages thread list.

This commit is contained in:
Bartosz Taudul 2019-09-24 23:33:33 +02:00
parent e7578777c3
commit 06fe469598

View File

@ -7107,6 +7107,9 @@ void View::DrawMessages()
{
if( t->messages.empty() ) continue;
ImGui::PushID( idx++ );
const auto threadColor = GetThreadColor( t->id, 0 );
SmallColorBox( threadColor );
ImGui::SameLine();
SmallCheckbox( m_worker.GetThreadName( t->id ), &VisibleMsgThread( t->id ) );
ImGui::PopID();
ImGui::SameLine();