Memory alloc range hover also works on allocation lists.

This commit is contained in:
Bartosz Taudul 2018-07-19 15:55:15 +02:00
parent 389e0facd3
commit 3c6baf53da

View File

@ -5378,6 +5378,11 @@ void View::ListMemData( T ptr, T end, std::function<void(T&)> 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();