mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
Middle-click on time span sets the view range to entire capture.
This commit is contained in:
parent
0f9597aee8
commit
39debea990
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user