From 656f40742f99ef280345e3b1f7f0ed13fd3797e7 Mon Sep 17 00:00:00 2001 From: Collin Smith Date: Sun, 10 Feb 2019 02:21:35 -0800 Subject: [PATCH] Using mobile panel to open chat box will set keyboard focus --- core/src/gdx/diablo/panel/MobilePanel.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/gdx/diablo/panel/MobilePanel.java b/core/src/gdx/diablo/panel/MobilePanel.java index 5e7a7d23..9c068cf9 100644 --- a/core/src/gdx/diablo/panel/MobilePanel.java +++ b/core/src/gdx/diablo/panel/MobilePanel.java @@ -47,6 +47,7 @@ public class MobilePanel extends Table implements Disposable { } else if (actor == btnMessages) { gameScreen.input.setVisible(!gameScreen.input.isVisible()); + gameScreen.input.getStage().setKeyboardFocus(gameScreen.input); } else if (actor == btnQuests) { } else if (actor == btnEscapeMenu) {