Disable collapsing of connection window.

This commit is contained in:
Bartosz Taudul 2021-04-09 17:43:48 +02:00
parent d71d76414b
commit aee39d3fcd
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

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