Use big icon in waiting for connection dialog.

This commit is contained in:
Bartosz Taudul 2021-11-13 22:14:47 +01:00
parent 6d3113f2df
commit d4a5df0244
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -717,7 +717,9 @@ bool View::DrawImpl()
char tmp[2048]; char tmp[2048];
sprintf( tmp, "%s###Connection", m_worker.GetAddr().c_str() ); sprintf( tmp, "%s###Connection", m_worker.GetAddr().c_str() );
ImGui::Begin( tmp, &keepOpen, ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoCollapse ); ImGui::Begin( tmp, &keepOpen, ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoCollapse );
if( m_bigFont ) ImGui::PushFont( m_bigFont );
TextCentered( ICON_FA_WIFI ); TextCentered( ICON_FA_WIFI );
if( m_bigFont ) ImGui::PopFont();
ImGui::TextUnformatted( "Waiting for connection..." ); ImGui::TextUnformatted( "Waiting for connection..." );
DrawWaitingDots( s_time ); DrawWaitingDots( s_time );
ImGui::End(); ImGui::End();