# Objective

"wtate" an off-by-one typo in the winit_config.rs file

## Solution

"state"
This commit is contained in:
amy universe 2024-06-16 21:59:51 +03:00 committed by GitHub
parent cde610577d
commit 836b6c4409
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -75,11 +75,11 @@ pub enum UpdateMode {
/// **Note:** This has no upper limit.
/// The [`App`](bevy_app::App) will wait indefinitely if you set this to [`Duration::MAX`].
wait: Duration,
/// Reacts to device events, that will wake up the loop if it's in a wait wtate
/// Reacts to device events, that will wake up the loop if it's in a wait state
react_to_device_events: bool,
/// Reacts to user events, that will wake up the loop if it's in a wait wtate
/// Reacts to user events, that will wake up the loop if it's in a wait state
react_to_user_events: bool,
/// Reacts to window events, that will wake up the loop if it's in a wait wtate
/// Reacts to window events, that will wake up the loop if it's in a wait state
react_to_window_events: bool,
},
}