From f385e5520b52c207521f9a64dcafe8503f7be1cf Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 4 Aug 2018 21:51:46 +0200 Subject: [PATCH] Draw frame separators only if the frame set is selected. --- server/TracyView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index c9f5b31d..8249878a 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -1028,7 +1028,7 @@ bool View::DrawZoneFrames( const FrameData& frames ) if( fsz <= 4 ) continue; - if( fbegin >= m_zvStart ) + if( fbegin >= m_zvStart && m_frames == &frames ) { draw->AddLine( wpos + ImVec2( ( fbegin - m_zvStart ) * pxns, 0 ), wpos + ImVec2( ( fbegin - m_zvStart ) * pxns, wh ), 0x22FFFFFF ); }