Fixed the positioning of popups after changing the screen orientation on Android (#8927)

This commit is contained in:
Gualdimar
2023-03-16 20:48:24 +02:00
committed by GitHub
parent a4b6585626
commit ba63f9a62b
2 changed files with 11 additions and 2 deletions

View File

@ -44,7 +44,7 @@ open class AndroidLauncher : AndroidApplication() {
Display.setOrientation(settings.displayOrientation)
Display.setCutout(settings.androidCutout)
game = AndroidGame()
game = AndroidGame(this)
initialize(game, config)
game!!.setDeepLinkedGame(intent)