move chat box to bottom left

This commit is contained in:
yuni 2024-03-19 06:14:25 +01:00
parent da7a646a1e
commit d63ad5b0d7
2 changed files with 4 additions and 4 deletions

View file

@ -237,12 +237,12 @@ fn setup(
), ),
]).with_style(Style { ]).with_style(Style {
position_type: PositionType::Absolute, position_type: PositionType::Absolute,
top: Val::VMin(2.0), bottom: Val::VMin(2.0),
right: Val::VMin(6.0), left: Val::VMin(4.0),
//bottom: Val::VMin(40.0), //bottom: Val::VMin(40.0),
//left: Val::VMin(30.0), //left: Val::VMin(30.0),
..default() ..default()
}).with_text_justify(JustifyText::Right); }).with_text_justify(JustifyText::Left);
commands.spawn(( commands.spawn((
bundle_chatbox, bundle_chatbox,
ChatText, ChatText,

View file

@ -28,7 +28,7 @@ impl Default for Settings {
fn default() -> Self { fn default() -> Self {
Settings { Settings {
mute_sfx: false, mute_sfx: false,
mute_music: false, mute_music: true,
volume_sfx: 100, volume_sfx: 100,
volume_music: 100, volume_music: 100,
font_size_hud: 32.0, font_size_hud: 32.0,