mirror of
https://github.com/wolfpld/tracy
synced 2025-05-01 05:03:53 +00:00
Fix frame number formatting.
This commit is contained in:
parent
0400967909
commit
a7a36c08cb
@ -2177,7 +2177,7 @@ bool View::DrawZoneFrames( const FrameData& frames )
|
|||||||
if( fsz - 7 <= tx )
|
if( fsz - 7 <= tx )
|
||||||
{
|
{
|
||||||
static char tmp[256];
|
static char tmp[256];
|
||||||
sprintf( tmp, "%i (%s)", i, TimeToString( ftime ) );
|
sprintf( tmp, "%s (%s)", RealToString( i ), TimeToString( ftime ) );
|
||||||
buf = tmp;
|
buf = tmp;
|
||||||
tx = ImGui::CalcTextSize( buf ).x;
|
tx = ImGui::CalcTextSize( buf ).x;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user