diff --git a/server/TracyView.cpp b/server/TracyView.cpp index c8e5235d..03b7f0f8 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -1864,6 +1864,7 @@ int View::DrawZoneLevel( const Vector& vec, bool hover, double pxns, const auto zitend = std::lower_bound( it, vec.end(), m_zvEnd + resolution, [] ( const auto& l, const auto& r ) { return l->start < r; } ); if( it == zitend ) return depth; + if( (*it)->end < 0 && m_worker.GetZoneEnd( **it ) < m_zvStart ) return depth; const auto w = ImGui::GetWindowContentRegionWidth() - 1; const auto ty = ImGui::GetFontSize();