mirror of
https://github.com/wolfpld/tracy
synced 2025-05-07 23:43:52 +00:00
Add thread color box to memory plot tooltip.
This commit is contained in:
parent
9c86102bad
commit
47f81d0ba4
@ -5033,6 +5033,8 @@ void View::DrawPlotPoint( const ImVec2& wpos, float x, float y, int offset, uint
|
||||
TextFocused( "Thread:", m_worker.GetThreadName( tid ) );
|
||||
ImGui::SameLine();
|
||||
ImGui::TextDisabled( "(%s)", RealToString( tid, true ) );
|
||||
ImGui::SameLine();
|
||||
SmallColorBox( GetThreadColor( tid, 0 ) );
|
||||
|
||||
m_memoryAllocHover = std::distance( mem.data.begin(), ev );
|
||||
m_memoryAllocHoverWait = 2;
|
||||
|
Loading…
x
Reference in New Issue
Block a user