Add thread color box to crash info.

This commit is contained in:
Bartosz Taudul 2019-09-24 23:42:25 +02:00
parent c73a74b8d5
commit 6ffbd00b0c

View File

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