Skip to content

Commit

Permalink
Ignore escape on web
Browse files Browse the repository at this point in the history
  • Loading branch information
fornwall committed Jun 22, 2023
1 parent e43d488 commit 54a4243
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/event_loop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ pub fn handle_event_loop(
state.reset_with_cells_width(state.cells_width - 128, state.cells_height - 128);
}
}
#[cfg(not(target_arch = "wasm32"))]
WindowEvent::CloseRequested
| WindowEvent::KeyboardInput {
event:
Expand Down

0 comments on commit 54a4243

Please sign in to comment.