mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-05 07:49:17 +07:00
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:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user