mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-23 06:44:35 +00:00
Fix zoom-to-allocation not working on selected allocations.
This commit is contained in:
parent
1a8b184d10
commit
9e94dcd320
@ -7051,11 +7051,11 @@ void View::ListMemData( T ptr, T end, std::function<void(T&)> DrawAddress, const
|
||||
{
|
||||
m_memoryAllocInfoWindow = arrIdx;
|
||||
}
|
||||
}
|
||||
if( ImGui::IsItemClicked( 2 ) )
|
||||
{
|
||||
ZoomToRange( v->timeAlloc, v->timeFree >= 0 ? v->timeFree : m_worker.GetLastTime() );
|
||||
}
|
||||
}
|
||||
if( ImGui::IsItemHovered() )
|
||||
{
|
||||
m_memoryAllocHover = arrIdx;
|
||||
|
Loading…
Reference in New Issue
Block a user