Android: selectable orientation (#8822)

* Android: selectable orientation

* Fix visible rectangle bug, fix auto-rotate behaviour, add translations

* Fix translation

---------

Co-authored-by: vegeta1k95 <vfylfhby>
This commit is contained in:
vegeta1k95
2023-03-06 09:35:14 +01:00
committed by GitHub
parent 41ee20efc5
commit b57232c992
11 changed files with 201 additions and 169 deletions

View File

@ -40,10 +40,6 @@ class DesktopDisplay : PlatformDisplay {
modes[2] = DesktopScreenMode(2, ScreenWindowType.Borderless)
}
override fun getDefaultMode(): ScreenMode {
return modes[0]!!
}
override fun getScreenModes(): Map<Int, ScreenMode> {
return modes
}