Using mobile panel to open chat box will set keyboard focus

This commit is contained in:
Collin Smith 2019-02-10 02:21:35 -08:00
parent 07eab3a052
commit 656f40742f

View File

@ -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) {