mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 07:54:36 +00:00
Mark activity on frame times histogram highlight.
This commit is contained in:
parent
1db9681ee2
commit
29c7b5f259
@ -675,6 +675,7 @@ void View::DrawInfo()
|
||||
const auto c = uint32_t( ( sin( s_time * 10 ) * 0.25 + 0.75 ) * 255 );
|
||||
const auto color = 0xFF000000 | ( c << 16 ) | ( c << 8 ) | c;
|
||||
DrawLine( draw, ImVec2( dpos.x + framePos, dpos.y ), ImVec2( dpos.x + framePos, dpos.y+Height-2 ), color );
|
||||
m_wasActive = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user