We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfa24cc commit bcc56acCopy full SHA for bcc56ac
crates/bevy_winit/src/state.rs
@@ -251,8 +251,8 @@ impl<T: Event> ApplicationHandler<T> for WinitAppRunnerState<T> {
251
) {
252
self.window_event_received = true;
253
254
- WINIT_WINDOWS.with_borrow_mut(|ww_ref| {
255
- let winit_windows = ww_ref.as_mut().expect("Failed to initialize winit windows");
+ WINIT_WINDOWS.with_borrow(|ww_ref| {
+ let winit_windows = ww_ref.as_ref().expect("Failed to initialize winit windows");
256
ACCESS_KIT_ADAPTERS.with_borrow_mut(|aka_ref| {
257
let access_kit_adapters = aka_ref
258
.as_mut()
0 commit comments