mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Don't draw frame separator lines, if too close together.
This commit is contained in:
parent
1fa778891c
commit
ffa5930a23
@ -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 );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user