mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Display waiting dots in find zone menu during precompute.
This commit is contained in:
parent
d5914d2e7b
commit
f2f19241e6
@ -42,6 +42,8 @@
|
||||
namespace tracy
|
||||
{
|
||||
|
||||
static double s_time = 0;
|
||||
|
||||
static const char* s_tracyStackFrames[] = {
|
||||
"tracy::Callstack",
|
||||
"tracy::GpuCtxScope::{ctor}",
|
||||
@ -5627,6 +5629,8 @@ 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…
Reference in New Issue
Block a user