mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Update time in a common location.
This commit is contained in:
parent
d0d7131e35
commit
d547700e50
@ -655,6 +655,7 @@ bool View::Draw()
|
|||||||
ImGui::EndPopup();
|
ImGui::EndPopup();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
s_time += ImGui::GetIO().DeltaTime;
|
||||||
return s_instance->DrawImpl();
|
return s_instance->DrawImpl();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -5629,7 +5630,6 @@ void View::DrawFindZone()
|
|||||||
if( !m_worker.AreSourceLocationZonesReady() )
|
if( !m_worker.AreSourceLocationZonesReady() )
|
||||||
{
|
{
|
||||||
ImGui::TextWrapped( "Please wait, computing data..." );
|
ImGui::TextWrapped( "Please wait, computing data..." );
|
||||||
s_time += ImGui::GetIO().DeltaTime;
|
|
||||||
DrawWaitingDots( s_time );
|
DrawWaitingDots( s_time );
|
||||||
ImGui::End();
|
ImGui::End();
|
||||||
return;
|
return;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user