From 06fe469598317853f9bebe2c6b27f0fb56131a78 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 24 Sep 2019 23:33:33 +0200 Subject: [PATCH] Add thread color boxes to messages thread list. --- server/TracyView.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 9b274fbe..eae0cce3 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -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();