From 6ffbd00b0c1a44db1222843fbec4904ff2f0b9f3 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 24 Sep 2019 23:42:25 +0200 Subject: [PATCH] Add thread color box to crash info. --- server/TracyView.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 188711fc..7168b260 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -10655,6 +10655,8 @@ void View::DrawInfo() TextFocused( "Thread:", m_worker.GetThreadName( crash.thread ) ); ImGui::SameLine(); ImGui::TextDisabled( "(%s)", RealToString( crash.thread, true ) ); + ImGui::SameLine(); + SmallColorBox( GetThreadColor( crash.thread, 0 ) ); TextDisabledUnformatted( "Reason:" ); ImGui::SameLine(); ImGui::TextWrapped( "%s", m_worker.GetString( crash.message ) );