From d223b1f420b884cfddaf7175dcc3cf1faf3f53b9 Mon Sep 17 00:00:00 2001 From: Freyja-moth <156322843+Freyja-moth@users.noreply.github.com> Date: Sun, 1 Feb 2026 17:54:54 +0000 Subject: [PATCH] Added prevent_default_error_handling to primary window on web builds. --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.rs b/src/main.rs index 5eccf4b5..ba039343 100644 --- a/src/main.rs +++ b/src/main.rs @@ -66,6 +66,8 @@ fn main() -> AppExit { primary_window: Window { title: "Foxtrot".to_string(), fit_canvas_to_parent: true, + #[cfg(feature = "web")] + prevent_default_event_handling: true, ..default() } .into(),