Переглянути джерело

Merge pull request #3843 from IvanSavenko/fix_lobby_window_position

Fix positioning of lobby window after resolution or UI scaling change
Ivan Savenko 1 рік тому
батько
коміт
aac25f72b4
1 змінених файлів з 2 додано та 0 видалено
  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()