mirror of
https://github.com/wolfpld/tracy
synced 2025-05-03 22:13:51 +00:00
Display collapsed zones counts with separators.
This commit is contained in:
parent
acf3bc7d43
commit
807d2a02bc
@ -1340,8 +1340,8 @@ int View::DrawZoneLevel( const Vector<ZoneEvent*>& vec, bool hover, double pxns,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
char tmp[32];
|
char tmp[64];
|
||||||
sprintf( tmp, "%i", num );
|
sprintf( tmp, "%s", RealToString( num, true ) );
|
||||||
const auto tsz = ImGui::CalcTextSize( tmp );
|
const auto tsz = ImGui::CalcTextSize( tmp );
|
||||||
if( tsz.x < px1 - px0 )
|
if( tsz.x < px1 - px0 )
|
||||||
{
|
{
|
||||||
@ -1607,8 +1607,8 @@ int View::DrawGpuZoneLevel( const Vector<GpuEvent*>& vec, bool hover, double pxn
|
|||||||
m_gpuEnd = ev.cpuEnd;
|
m_gpuEnd = ev.cpuEnd;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
char tmp[32];
|
char tmp[64];
|
||||||
sprintf( tmp, "%i", num );
|
sprintf( tmp, "%s", RealToString( num, true ) );
|
||||||
const auto tsz = ImGui::CalcTextSize( tmp );
|
const auto tsz = ImGui::CalcTextSize( tmp );
|
||||||
if( tsz.x < px1 - px0 )
|
if( tsz.x < px1 - px0 )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user