mirror of
https://github.com/wolfpld/tracy
synced 2025-04-30 20:53:52 +00:00
Decrease minimum spacing between tick labels on linear histogram.
This commit is contained in:
parent
f361d7484d
commit
a14ff62e64
@ -3000,7 +3000,7 @@ void View::DrawFindZone()
|
|||||||
while( x < numBins )
|
while( x < numBins )
|
||||||
{
|
{
|
||||||
draw->AddLine( wpos + ImVec2( xo + x, yoff ), wpos + ImVec2( xo + x, yoff + round( ty * linelen[iter] ) ), 0x66FFFFFF );
|
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;
|
tx = x;
|
||||||
auto txt = TimeToStringInteger( tt );
|
auto txt = TimeToStringInteger( tt );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user