Skip to content

Commit

Permalink
log events
Browse files Browse the repository at this point in the history
  • Loading branch information
mockersf committed Jan 31, 2024
1 parent 93a1f77 commit 3d4838c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/bevy_winit/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ pub fn winit_runner(mut app: App) {
SystemState::<CreateWindowParams<Added<Window>>>::from_world(&mut app.world);
// set up the event loop
let event_handler = move |event, event_loop: &EventLoopWindowTarget<()>| {
warn!("Received event: {event:?}");
handle_winit_event(
&mut app,
&mut app_exit_event_reader,
Expand Down

0 comments on commit 3d4838c

Please sign in to comment.