From 022b55e937c6ef1b359f27773ab0a7adca77359f Mon Sep 17 00:00:00 2001 From: Alex25820 <50142558+Alex25820@users.noreply.github.com> Date: Wed, 8 Sep 2021 18:50:20 +0000 Subject: [PATCH] Adds support for opening debug menu on MacOS (#5142) --- core/src/com/unciv/ui/worldscreen/mainmenu/OptionsPopup.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/com/unciv/ui/worldscreen/mainmenu/OptionsPopup.kt b/core/src/com/unciv/ui/worldscreen/mainmenu/OptionsPopup.kt index e33d04bcc7..41cf7a6fb9 100644 --- a/core/src/com/unciv/ui/worldscreen/mainmenu/OptionsPopup.kt +++ b/core/src/com/unciv/ui/worldscreen/mainmenu/OptionsPopup.kt @@ -78,7 +78,7 @@ class OptionsPopup(val previousScreen: CameraStageBaseScreen) : Popup(previousSc if (modCheckFirstRun) runModChecker() } } - if (Gdx.input.isKeyPressed(Input.Keys.SHIFT_RIGHT) && Gdx.input.isKeyPressed(Input.Keys.CONTROL_RIGHT)) { + if (Gdx.input.isKeyPressed(Input.Keys.SHIFT_RIGHT) && (Gdx.input.isKeyPressed(Input.Keys.CONTROL_RIGHT) || Gdx.input.isKeyPressed(Input.Keys.ALT_RIGHT))) { tabs.addPage("Debug", getDebugTab(), ImageGetter.getImage("OtherIcons/SecretOptions"), 24f, secret = true) }