diff --git a/forge-gui-mobile/src/forge/screens/match/winlose/ViewWinLose.java b/forge-gui-mobile/src/forge/screens/match/winlose/ViewWinLose.java index 2121bf1d3af..e6d50147618 100644 --- a/forge-gui-mobile/src/forge/screens/match/winlose/ViewWinLose.java +++ b/forge-gui-mobile/src/forge/screens/match/winlose/ViewWinLose.java @@ -1,5 +1,6 @@ package forge.screens.match.winlose; +import com.badlogic.gdx.Input.Keys; import com.badlogic.gdx.graphics.g2d.BitmapFont.HAlignment; import forge.Forge; @@ -206,4 +207,13 @@ public class ViewWinLose extends FOverlay { } } } + + @Override + public boolean keyDown(int keyCode) { + if (keyCode == Keys.ESCAPE || keyCode == Keys.BACK) { + btnQuit.trigger(); //quit on escape or back + return true; + } + return super.keyDown(keyCode); + } }