Middle click on lock event to zoom to it.

This commit is contained in:
Bartosz Taudul 2018-12-16 20:04:45 +01:00
parent 8f6f54e412
commit abad5574f3

View File

@ -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 )
{ {