There was an error while loading. Please reload this page.
1 parent 39ee307 commit 05d0038Copy full SHA for 05d0038
profiler/src/profiler/TracyView_Compare.cpp
@@ -280,7 +280,12 @@ void View::DrawCompare()
280
281
if( !m_worker.AreSourceLocationZonesReady() || !m_compare.second->AreSourceLocationZonesReady() )
282
{
283
- ImGui::TextWrapped( "Please wait, computing data..." );
+ const auto ty = ImGui::GetTextLineHeight();
284
+ ImGui::PushFont( m_bigFont );
285
+ ImGui::Dummy( ImVec2( 0, ( ImGui::GetContentRegionAvail().y - ImGui::GetTextLineHeight() * 2 - ty ) * 0.5f ) );
286
+ TextCentered( ICON_FA_FROG );
287
+ TextCentered( "Please wait, computing data..." );
288
+ ImGui::PopFont();
289
DrawWaitingDots( s_time );
290
ImGui::End();
291
return;
0 commit comments