From d98fceadfad89a880b26f0d9132f59de09d7083b Mon Sep 17 00:00:00 2001 From: Trevor Settles Date: Thu, 12 Oct 2023 11:02:12 -0600 Subject: [PATCH] adde menu background --- game/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/game/src/lib.rs b/game/src/lib.rs index 94d6696..b5f2d57 100644 --- a/game/src/lib.rs +++ b/game/src/lib.rs @@ -16,8 +16,10 @@ fn draw_main_menu(mut commands: Commands) { .spawn(NodeBundle { style: Style { flex_direction: FlexDirection::Column, + width: Val::Vw(100.0), ..Default::default() }, + background_color: Color::DARK_GREEN.into(), ..Default::default() }) .with_children(|builder| {