You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added a bevy_ui button to my game, wired it up to an action I wanted triggered onjust_pressed, and the action repeats every frame as though I were calling pressed. I have a branch out that updates the ui_driven_actions example to showcase this bug by adding a jump button. The branch can be found here (the branch name is misleading, I haven't fixed this).
Additional information
In my efforts to find a fix, I decided that either InputKind needs a new entry and the UI interaction API needs an overhaul, or a small hack needs to get thrown in update_action_state, or something else entirely. After some discussion, it looks like "something else entirely", possibly based on #483, seems to be the preference.
The text was updated successfully, but these errors were encountered:
Version
0.13.3
Operating system & version
Windows 10
Problem and repro
I added a
bevy_ui
button to my game, wired it up to an action I wanted triggered onjust_pressed
, and the action repeats every frame as though I were callingpressed
. I have a branch out that updates theui_driven_actions
example to showcase this bug by adding a jump button. The branch can be found here (the branch name is misleading, I haven't fixed this).Additional information
In my efforts to find a fix, I decided that either
InputKind
needs a new entry and the UI interaction API needs an overhaul, or a small hack needs to get thrown inupdate_action_state
, or something else entirely. After some discussion, it looks like "something else entirely", possibly based on #483, seems to be the preference.The text was updated successfully, but these errors were encountered: