Browse Source

Merge pull request #3843 from IvanSavenko/fix_lobby_window_position

Fix positioning of lobby window after resolution or UI scaling change
Ivan Savenko 1 year ago
parent
commit
aac25f72b4
1 changed files with 2 additions and 0 deletions
  1. 2 0
      client/globalLobby/GlobalLobbyClient.cpp

+ 2 - 0
client/globalLobby/GlobalLobbyClient.cpp

@@ -483,6 +483,8 @@ void GlobalLobbyClient::activateInterface()
 		GH.windows().pushWindow(createLobbyWindow());
 	else
 		GH.windows().pushWindow(createLoginWindow());
+
+	GH.windows().topWindow<CIntObject>()->center();
 }
 
 void GlobalLobbyClient::activateRoomInviteInterface()