Made monologue previewer feel a lot nicer

main
Elijah Voigt 4 months ago
parent d4eedab39c
commit cb20b0d6a6

@ -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()

Loading…
Cancel
Save