Middle-click on time span sets the view range to entire capture.

This commit is contained in:
Bartosz Taudul 2020-07-11 14:11:13 +02:00
parent 0f9597aee8
commit 39debea990

View File

@ -691,6 +691,10 @@ bool View::DrawImpl()
ImGui::BeginTooltip();
ImGui::Text( "Time span" );
ImGui::EndTooltip();
if( ImGui::IsItemClicked( 2 ) )
{
ZoomToRange( 0, m_worker.GetLastTime() );
}
}
ImGui::SameLine();
dx = ImGui::GetCursorPosX() - cx;