Skip to content

Commit

Permalink
try disabling fit_canvas_to_parent
Browse files Browse the repository at this point in the history
  • Loading branch information
caengen committed Aug 20, 2023
1 parent 504eb56 commit ae62270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ fn main() {
resolution: (SCREEN.x, SCREEN.y).into(),
present_mode: PresentMode::AutoNoVsync,
// Tells wasm to resize the window according to the available canvas
fit_canvas_to_parent: true,
// fit_canvas_to_parent: true,
// Tells wasm not to override default event handling, like F5, Ctrl+R etc.
prevent_default_event_handling: false,
..default()
Expand Down

0 comments on commit ae62270

Please sign in to comment.