Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document ButtonInput behavior regarding window focus (#12367)
# Objective `ButtonInput<KeyCode>` documentation is currently incorrect/incomplete, see #12273. ## Solution Fix the documentation. I think in the future we should also stop triggering `just_pressed`/`just_released` when focus switches between two Bevy windows, as those functions are independent of the window. It could also make sense to add individual `ButtonInput<KeyCode>`s per window. --------- Co-authored-by: Mateusz Wachowiak <[email protected]>
- Loading branch information