Skip to content

Commit

Permalink
wording & spelling
Browse files Browse the repository at this point in the history
Co-authored-by: Mateusz Wachowiak <mateusz_wachowiak@outlook.com>
  • Loading branch information
SpecificProtagonist and matiqo15 authored Mar 7, 2024
1 parent dd3772c commit f8b06dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/bevy_input/src/button_input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ use bevy_ecs::schedule::State;
/// ## Window focus
///
/// `ButtonInput<KeyCode>` is tied to window focus. For example, if the user holds a button
/// while the window looses focus, [`ButtonInput::just_released`] will trigger; if the window
/// regains focus, [`ButtonInput::just_pressed`] will trigger. Currently this happens even if the
/// while the window loses focus, [`ButtonInput::just_released`] will be triggered. Similarly if the window
/// regains focus, [`ButtonInput::just_pressed`] will be triggered. Currently this happens even if the
/// focus switches from one Bevy window to another (for example because a new window was just spawned).
///
/// `ButtonInput<GamepadButton>` is independent of window focus.
Expand Down

0 comments on commit f8b06dd

Please sign in to comment.