Don't draw frame separator lines, if too close together.

This commit is contained in:
Bartosz Taudul 2017-09-26 22:17:10 +02:00
parent 1fa778891c
commit ffa5930a23

View File

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