Skip to content

Commit

Permalink
prevent_default_event_handling for browsers
Browse files Browse the repository at this point in the history
Signed-off-by: Agustín Ramiro Díaz <[email protected]>
  • Loading branch information
AgustinRamiroDiaz committed Feb 3, 2024
1 parent a8c8f88 commit 5fe490e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ fn main() {
#[cfg(not(target_arch = "wasm32"))]
mode: WindowMode::BorderlessFullscreen,
fit_canvas_to_parent: true,
prevent_default_event_handling: false,
resizable: true,
..default()
}),
Expand Down

0 comments on commit 5fe490e

Please sign in to comment.