mirror of
https://github.com/wolfpld/tracy
synced 2025-05-03 06:03:51 +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 c = uint32_t( ( sin( s_time * 10 ) * 0.25 + 0.75 ) * 255 );
|
||||||
const auto color = 0xFF000000 | ( c << 16 ) | ( c << 8 ) | c;
|
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 );
|
DrawLine( draw, ImVec2( dpos.x + framePos, dpos.y ), ImVec2( dpos.x + framePos, dpos.y+Height-2 ), color );
|
||||||
|
m_wasActive = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user