diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 80d05a86..98b54b71 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -2520,7 +2520,7 @@ int View::DrawLocks( uint64_t tid, bool hover, double pxns, const ImVec2& wpos, bool itemHovered = hover && ImGui::IsMouseHoveringRect( wpos + ImVec2( std::max( px0, -10.0 ), offset ), wpos + ImVec2( std::min( pxend, double( w + 10 ) ), offset + ty ) ); if( itemHovered ) { - if( condensed != 0 ) + if( condensed > 1 ) { ImGui::BeginTooltip(); ImGui::Text( "Multiple lock events (%" PRIu64 ")", condensed );