From 7482130ac2b4f61a5c1488f2a96501b491a9f5a7 Mon Sep 17 00:00:00 2001 From: Robert Garrett Date: Tue, 28 Oct 2025 16:23:17 -0500 Subject: [PATCH] Don't have Bevy resize to full-screen Now that I have a custom canvas, Bevy should adopt that as it's render target rather than further modifying it. --- src/main.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index f3f134a6..322bebbd 100644 --- a/src/main.rs +++ b/src/main.rs @@ -11,7 +11,6 @@ fn main() { .add_plugins(DefaultPlugins.set(WindowPlugin { primary_window: Some(Window { canvas: Some("#boids-canvas".to_owned()), - fit_canvas_to_parent: true, prevent_default_event_handling: false, ..default() }),