mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 12:23:53 +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::BeginTooltip();
|
||||||
ImGui::Text( "Time span" );
|
ImGui::Text( "Time span" );
|
||||||
ImGui::EndTooltip();
|
ImGui::EndTooltip();
|
||||||
|
if( ImGui::IsItemClicked( 2 ) )
|
||||||
|
{
|
||||||
|
ZoomToRange( 0, m_worker.GetLastTime() );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
dx = ImGui::GetCursorPosX() - cx;
|
dx = ImGui::GetCursorPosX() - cx;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user