Decrease minimum spacing between tick labels on linear histogram.

This commit is contained in:
Bartosz Taudul 2018-03-05 20:33:04 +01:00
parent f361d7484d
commit a14ff62e64

View File

@ -3000,7 +3000,7 @@ void View::DrawFindZone()
while( x < numBins )
{
draw->AddLine( wpos + ImVec2( xo + x, yoff ), wpos + ImVec2( xo + x, yoff + round( ty * linelen[iter] ) ), 0x66FFFFFF );
if( iter == 0 && ( tw == 0 || x > tx + tw + ty * 2 ) )
if( iter == 0 && ( tw == 0 || x > tx + tw + ty * 1.1 ) )
{
tx = x;
auto txt = TimeToStringInteger( tt );