From a14ff62e641100af0a79c95de7fb680114300d42 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Mon, 5 Mar 2018 20:33:04 +0100 Subject: [PATCH] Decrease minimum spacing between tick labels on linear histogram. --- server/TracyView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 99c8e3b9..4a4abd52 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -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 );