mirror of
https://github.com/wolfpld/tracy
synced 2026-02-15 01:32:13 +00:00
Draw frame separators only if the frame set is selected.
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user