diff --git a/src/bin/trees/main.rs b/src/bin/trees/main.rs index 33ff2f2..5aaffde 100644 --- a/src/bin/trees/main.rs +++ b/src/bin/trees/main.rs @@ -184,6 +184,7 @@ fn init_debug_ui(mut commands: Commands) { justify_self: JustifySelf::Start, ..default() }, + BackgroundColor(GREEN.into()), MonologuesContainer, GlobalZIndex(i32::MAX - 1), DebuggingState::On, @@ -191,9 +192,7 @@ fn init_debug_ui(mut commands: Commands) { .with_children(|parent| { parent.spawn(( Node { - min_height: Val::Px(5.0), - max_height: Val::Percent(90.0), - max_width: Val::Percent(40.0), + height: Val::Percent(100.0), flex_direction: FlexDirection::Column, padding: UiRect::all(Val::Px(10.0)), ..default() @@ -203,9 +202,7 @@ fn init_debug_ui(mut commands: Commands) { )); parent.spawn(( Node { - min_height: Val::Px(5.0), - max_height: Val::Percent(90.0), - max_width: Val::Percent(60.0), + height: Val::Percent(100.0), flex_direction: FlexDirection::Column, padding: UiRect::all(Val::Px(10.0)), ..default()