Skip to content

Commit

Permalink
fix process event api usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Vrixyz committed Nov 8, 2023
1 parent bebfde0 commit 66541a0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions crates/bevy_winit/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -467,11 +467,7 @@ pub fn winit_runner(mut app: App) {
// the engine.
if let Some(adapter) = access_kit_adapters.get(&window_entity) {
if let Some(window) = winit_windows.get_window(window_entity) {
// Somewhat surprisingly, this call has meaningful side effects
// See https://github.com/AccessKit/accesskit/issues/300
// AccessKit might later need to filter events based on this, but we currently do not.
// See https://github.com/bevyengine/bevy/pull/10239#issuecomment-1775572176
let _ = adapter.process_event(window, &event);
adapter.process_event(window, &event);
}
}

Expand Down

0 comments on commit 66541a0

Please sign in to comment.