mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-12 16:58:57 +00:00
Allow ESC to dismiss console in addition to android back button
This commit is contained in:
@@ -813,9 +813,10 @@ public class GameHUD extends Stage {
|
|||||||
toggleConsole();
|
toggleConsole();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (keycode == Input.Keys.BACK) {
|
if (KeyBinding.Back.isPressed(keycode)) {
|
||||||
if (console.isVisible()) {
|
if (console.isVisible()) {
|
||||||
toggleConsole();
|
toggleConsole();
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (console.isVisible())
|
if (console.isVisible())
|
||||||
|
|||||||
Reference in New Issue
Block a user