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();
|
||||
}
|
||||
|
||||
s_time += ImGui::GetIO().DeltaTime;
|
||||
return s_instance->DrawImpl();
|
||||
}
|
||||
|
||||
@ -5629,7 +5630,6 @@ void View::DrawFindZone()
|
||||
if( !m_worker.AreSourceLocationZonesReady() )
|
||||
{
|
||||
ImGui::TextWrapped( "Please wait, computing data..." );
|
||||
s_time += ImGui::GetIO().DeltaTime;
|
||||
DrawWaitingDots( s_time );
|
||||
ImGui::End();
|
||||
return;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user