diff --git a/server/TracyView.cpp b/server/TracyView.cpp index de343631..c3658b39 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -1036,7 +1036,7 @@ void View::DrawFrames() } } - const auto h = float( std::min( MaxFrameTime, f ) ) / MaxFrameTime * ( Height - 2 ); + const auto h = std::max( 1.f, float( std::min( MaxFrameTime, f ) ) / MaxFrameTime * ( Height - 2 ) ); if( fwidth != 1 ) { draw->AddRectFilled( wpos + ImVec2( 1 + i*fwidth, Height-1-h ), wpos + ImVec2( fwidth + i*fwidth, Height-1 ), GetFrameColor( f ) );