mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-25 07:09:16 +07:00
Re-hide Enable Portrait option on desktop (#6912)
* Re-hide Enable Portrait Option in desktop version * MainMenu Background Map Job cancellable * MainMenu Background Map generation cancellable * MainMenu Background Map cancellable - remove instrumentation * Revert "MainMenu Background Stuff"
This commit is contained in:
@ -40,7 +40,7 @@ fun advancedTab(
|
||||
addMaxZoomSlider(this, settings)
|
||||
|
||||
val screen = optionsPopup.screen
|
||||
if (screen.game.platformSpecificHelper != null) {
|
||||
if (screen.game.platformSpecificHelper != null && Gdx.app.type == Application.ApplicationType.Android) {
|
||||
optionsPopup.addCheckbox(this, "Enable portrait orientation", settings.allowAndroidPortrait) {
|
||||
settings.allowAndroidPortrait = it
|
||||
// Note the following might close the options screen indirectly and delayed
|
||||
@ -176,4 +176,4 @@ private fun addSetUserId(table: Table, settings: GameSettings, screen: BaseScree
|
||||
}
|
||||
table.add(takeUserIdFromClipboardButton).pad(5f).colspan(2).row()
|
||||
table.add(idSetLabel).colspan(2).row()
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user