From 47f81d0ba4322aba537848a90b147a44f77e0bc0 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 24 Sep 2019 23:47:51 +0200 Subject: [PATCH] Add thread color box to memory plot tooltip. --- server/TracyView.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 1c800311..b3f06560 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -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;