mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Fix zoom-to-allocation not working on selected allocations.
This commit is contained in:
parent
1a8b184d10
commit
9e94dcd320
@ -7051,10 +7051,10 @@ 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::IsItemClicked( 2 ) )
|
||||
{
|
||||
ZoomToRange( v->timeAlloc, v->timeFree >= 0 ? v->timeFree : m_worker.GetLastTime() );
|
||||
}
|
||||
if( ImGui::IsItemHovered() )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user