use of io.anuke.ucore.scene.event.InputListener in project Mindustry by Anuken.
the class TextFieldDialogListener method add.
public static void add(TextField field, int type, int max) {
field.addListener(new TextFieldDialogListener(field, type, max));
field.addListener(new InputListener() {
public boolean touchDown(InputEvent event, float x, float y, int pointer, int button) {
Gdx.input.setOnscreenKeyboardVisible(false);
return false;
}
});
}
Aggregations