1
0
mirror of https://github.com/wolfpld/tracy synced 2025-05-02 13:43:52 +00:00

Draw frame separators only if the frame set is selected.

This commit is contained in:
Bartosz Taudul 2018-08-04 21:51:46 +02:00
parent 1282aa9739
commit f385e5520b

View File

@ -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 );
}