mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 04:23:51 +00:00
Improve "please wait" view in find zone window.
This commit is contained in:
parent
d734aaa357
commit
39ee307409
@ -265,7 +265,12 @@ void View::DrawFindZone()
|
||||
#else
|
||||
if( !m_worker.AreSourceLocationZonesReady() )
|
||||
{
|
||||
ImGui::TextWrapped( "Please wait, computing data..." );
|
||||
const auto ty = ImGui::GetTextLineHeight();
|
||||
ImGui::PushFont( m_bigFont );
|
||||
ImGui::Dummy( ImVec2( 0, ( ImGui::GetContentRegionAvail().y - ImGui::GetTextLineHeight() * 2 - ty ) * 0.5f ) );
|
||||
TextCentered( ICON_FA_CROW );
|
||||
TextCentered( "Please wait, computing data..." );
|
||||
ImGui::PopFont();
|
||||
DrawWaitingDots( s_time );
|
||||
ImGui::End();
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user