From 3c6baf53da95bd3e8469e4f3335c657e4636bc5a Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Thu, 19 Jul 2018 15:55:15 +0200 Subject: [PATCH] Memory alloc range hover also works on allocation lists. --- server/TracyView.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 9e8ea976..9421f1d7 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -5378,6 +5378,11 @@ void View::ListMemData( T ptr, T end, std::function DrawAddress, const m_memoryAllocInfoWindow = arrIdx; } } + if( ImGui::IsItemHovered() ) + { + m_memoryAllocHover = arrIdx; + m_memoryAllocHoverWait = 2; + } ImGui::NextColumn(); ImGui::Text( "%s", RealToString( v->size, true ) ); ImGui::NextColumn();