[1.0.0] Numeric only textfields allow character movement when using WASD
Posted: Thu Nov 12, 2020 3:34 pm
Clicking in a numeric only textfield (e.g. setting the request/trash amount in the character gui) and then typing any of the movement keys (or in fact any key that has a game control linked) executes that movement. For unbound keys the input is ignored (as expected)
To reproduce:
- Add item to logistics requests
- Click in one of the textfields
- Press any movement key/linked key
Same with mod guis:
To reproduce:
- Add item to logistics requests
- Click in one of the textfields
- Press any movement key/linked key
Same with mod guis:
Code: Select all
/c game.player.gui.screen.add{type = "textfield", numeric = true}