phate09 / ToDoChores

a mod for the game Don't Starve Together
6 stars 3 forks source link

[bugfix] Disable toggle keys when typing in a textbox #37

Closed ezwang closed 2 years ago

ezwang commented 2 years ago

Newer versions of the game have a crafting menu with a textbox to search for items:

image

When typing in this textbox and the letter key is bound to the settings/chores widget, the settings/chores widget will pop up in addition to the letter being typed. This is pretty much never what the user wants to do.

With this change, when you press one of the toggle keys (for example, "V") in the textbox, it won't pop up the mod settings/chores widget.

phate09 commented 2 years ago

Thank you 👍