diff --git a/server/TracyView.cpp b/server/TracyView.cpp index b328d2a4..ab6edf1b 100755 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -1019,6 +1019,7 @@ int View::DrawZoneLevel( const Vector& vec, bool hover, double pxns, con { ++it; if( it == zitend ) break; + if( (*it)->color != ev.color ) break; const auto nend = GetZoneEnd( **it ); const auto pxnext = ( nend - m_zvStart ) * pxns; if( pxnext - px1 >= MinVisSize * 2 ) break;