mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Middle click on lock event to zoom to it.
This commit is contained in:
parent
8f6f54e412
commit
abad5574f3
@ -2792,6 +2792,10 @@ int View::DrawLocks( uint64_t tid, bool hover, double pxns, const ImVec2& wpos,
|
|||||||
{
|
{
|
||||||
m_lockInfoWindow = v.first;
|
m_lockInfoWindow = v.first;
|
||||||
}
|
}
|
||||||
|
if( ImGui::IsMouseClicked( 2 ) )
|
||||||
|
{
|
||||||
|
ZoomToRange( t0, t1 );
|
||||||
|
}
|
||||||
|
|
||||||
if( condensed > 1 )
|
if( condensed > 1 )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user