terrarium-earth / Heracles

A tree style questing mod allowing creators to set completable quests for their users
MIT License
35 stars 19 forks source link

[Bug]: Editor binds carrying over while typing #228

Open tazzanmc opened 5 months ago

tazzanmc commented 5 months ago

Bug Description

When you type in a quest's properties while in the Heracles editor, the editor binds still activate. For example, if you type the letter "L" while editing a quest's properties, when you return to the quest tree you'll have the Link Tool selected.

How to Reproduce?

  1. Open any quest group with quests within it.
  2. Enter edit mode.
  3. Click any quest and begin editing its title or subtitle.
  4. Type "V", "H", "U", or "L".
  5. When returning to the group, you'll be in Move/Select, Hand/Drag, Add, or Link mode depending on which letter you typed.

Expected Behavior

I expected that the binds would not activate while typing, as it's assumed that what you're typing should only affect the text box and not the editor.

Version

1.1.12

Mod Loader Version

1.20.1 47.2.21

Mod Loader

Forge

Logs or additional context

No response

Code of Conduct