mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Highlight CPU data timeline from thread tooltip.
This commit is contained in:
parent
3b8ab5715f
commit
cb6a3f3334
@ -2407,6 +2407,7 @@ void View::DrawZones()
|
|||||||
if( hover && ImGui::IsMouseHoveringRect( wpos + ImVec2( 0, oldOffset ), wpos + ImVec2( ty + txtsz.x, oldOffset + ty ) ) )
|
if( hover && ImGui::IsMouseHoveringRect( wpos + ImVec2( 0, oldOffset ), wpos + ImVec2( ty + txtsz.x, oldOffset + ty ) ) )
|
||||||
{
|
{
|
||||||
m_drawThreadMigrations = v->id;
|
m_drawThreadMigrations = v->id;
|
||||||
|
m_drawThreadHighlight = v->id;
|
||||||
ImGui::BeginTooltip();
|
ImGui::BeginTooltip();
|
||||||
SmallColorBox( GetThreadColor( v->id, 0 ) );
|
SmallColorBox( GetThreadColor( v->id, 0 ) );
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user