From ffa5930a235f4889b0186148bd18a6e8fb2c140f Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 26 Sep 2017 22:17:10 +0200 Subject: [PATCH] Don't draw frame separator lines, if too close together. --- server/TracyView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 585b3e61..f5f74538 100755 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -962,7 +962,7 @@ void View::DrawZones() ImGui::EndTooltip(); } - if( fbegin >= m_zvStart ) + if( fbegin >= m_zvStart && fsz > 4 ) { draw->AddLine( wpos + ImVec2( ( fbegin - m_zvStart ) * pxns, 0 ), wpos + ImVec2( ( fbegin - m_zvStart ) * pxns, h ), 0x22FFFFFF ); }