|
|
|
@ -184,6 +184,7 @@ fn init_debug_ui(mut commands: Commands) {
|
|
|
|
justify_self: JustifySelf::Start,
|
|
|
|
justify_self: JustifySelf::Start,
|
|
|
|
..default()
|
|
|
|
..default()
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
BackgroundColor(GREEN.into()),
|
|
|
|
MonologuesContainer,
|
|
|
|
MonologuesContainer,
|
|
|
|
GlobalZIndex(i32::MAX - 1),
|
|
|
|
GlobalZIndex(i32::MAX - 1),
|
|
|
|
DebuggingState::On,
|
|
|
|
DebuggingState::On,
|
|
|
|
@ -191,9 +192,7 @@ fn init_debug_ui(mut commands: Commands) {
|
|
|
|
.with_children(|parent| {
|
|
|
|
.with_children(|parent| {
|
|
|
|
parent.spawn((
|
|
|
|
parent.spawn((
|
|
|
|
Node {
|
|
|
|
Node {
|
|
|
|
min_height: Val::Px(5.0),
|
|
|
|
height: Val::Percent(100.0),
|
|
|
|
max_height: Val::Percent(90.0),
|
|
|
|
|
|
|
|
max_width: Val::Percent(40.0),
|
|
|
|
|
|
|
|
flex_direction: FlexDirection::Column,
|
|
|
|
flex_direction: FlexDirection::Column,
|
|
|
|
padding: UiRect::all(Val::Px(10.0)),
|
|
|
|
padding: UiRect::all(Val::Px(10.0)),
|
|
|
|
..default()
|
|
|
|
..default()
|
|
|
|
@ -203,9 +202,7 @@ fn init_debug_ui(mut commands: Commands) {
|
|
|
|
));
|
|
|
|
));
|
|
|
|
parent.spawn((
|
|
|
|
parent.spawn((
|
|
|
|
Node {
|
|
|
|
Node {
|
|
|
|
min_height: Val::Px(5.0),
|
|
|
|
height: Val::Percent(100.0),
|
|
|
|
max_height: Val::Percent(90.0),
|
|
|
|
|
|
|
|
max_width: Val::Percent(60.0),
|
|
|
|
|
|
|
|
flex_direction: FlexDirection::Column,
|
|
|
|
flex_direction: FlexDirection::Column,
|
|
|
|
padding: UiRect::all(Val::Px(10.0)),
|
|
|
|
padding: UiRect::all(Val::Px(10.0)),
|
|
|
|
..default()
|
|
|
|
..default()
|
|
|
|
|