mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +00:00
Mark activity when find zone histogram is highlighting.
This commit is contained in:
parent
8117d7d4d4
commit
fd93f244f0
@ -1343,6 +1343,7 @@ void View::DrawFindZone()
|
|||||||
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 + zonePos, dpos.y ), ImVec2( dpos.x + zonePos, dpos.y+Height-2 ), color );
|
DrawLine( draw, ImVec2( dpos.x + zonePos, dpos.y ), ImVec2( dpos.x + zonePos, dpos.y+Height-2 ), color );
|
||||||
|
m_wasActive = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user