1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Always show label of a crashed thread.

This commit is contained in:
Bartosz Taudul 2019-02-23 01:34:45 +01:00
parent ba769ab23a
commit a0b5ac33cc

View File

@ -1922,7 +1922,7 @@ void View::DrawZones()
auto msgit = std::lower_bound( v->messages.begin(), v->messages.end(), m_zvStart, [] ( const auto& lhs, const auto& rhs ) { return lhs->time < rhs; } );
auto msgend = std::lower_bound( msgit, v->messages.end(), m_zvEnd, [] ( const auto& lhs, const auto& rhs ) { return lhs->time < rhs; } );
if( !m_drawEmptyLabels && showFull && depth == 0 && msgit == msgend )
if( !m_drawEmptyLabels && showFull && depth == 0 && msgit == msgend && crash.thread != v->id )
{
vis.height = 0;
vis.offset = 0;