make key bindings look more like the achievement list
This commit is contained in:
parent
49314bc6bb
commit
122a1e49ec
|
@ -1,4 +1,3 @@
|
||||||
Key Bindings:
|
|
||||||
Space: Slow down, match velocity
|
Space: Slow down, match velocity
|
||||||
E: Interact
|
E: Interact
|
||||||
F: Flashlight
|
F: Flashlight
|
||||||
|
|
|
@ -222,7 +222,7 @@ pub fn setup(
|
||||||
},
|
},
|
||||||
)).with_children(|builder| {
|
)).with_children(|builder| {
|
||||||
let mut sections = vec![
|
let mut sections = vec![
|
||||||
TextSection::new("Achievements\n", style_achievement_header)
|
TextSection::new("Achievements\n", style_achievement_header.clone())
|
||||||
];
|
];
|
||||||
sections.extend(Vec::from_iter((0..achievement_count).map(|_|
|
sections.extend(Vec::from_iter((0..achievement_count).map(|_|
|
||||||
TextSection::new("", style_achievement.clone())
|
TextSection::new("", style_achievement.clone())
|
||||||
|
@ -267,7 +267,10 @@ pub fn setup(
|
||||||
builder.spawn((
|
builder.spawn((
|
||||||
TextBundle {
|
TextBundle {
|
||||||
text: Text {
|
text: Text {
|
||||||
sections: vec![TextSection::new(keybindings, style_keybindings)],
|
sections: vec![
|
||||||
|
TextSection::new("Key Bindings\n", style_achievement_header),
|
||||||
|
TextSection::new(keybindings, style_keybindings)
|
||||||
|
],
|
||||||
justify: JustifyText::Right,
|
justify: JustifyText::Right,
|
||||||
..default()
|
..default()
|
||||||
},
|
},
|
||||||
|
|
|
@ -200,7 +200,7 @@ impl Default for Settings {
|
||||||
hud_color_achievement_header: Color::hex("#BE1251").unwrap(),
|
hud_color_achievement_header: Color::hex("#BE1251").unwrap(),
|
||||||
hud_color_death: Color::hex("#CCCCCC").unwrap(),
|
hud_color_death: Color::hex("#CCCCCC").unwrap(),
|
||||||
hud_color_death_achievements: Color::hex("#CCCCCC").unwrap(),
|
hud_color_death_achievements: Color::hex("#CCCCCC").unwrap(),
|
||||||
hud_color_keybindings: Color::hex("#999999").unwrap(),
|
hud_color_keybindings: Color::hex("#666666").unwrap(),
|
||||||
chat_speed: DEFAULT_CHAT_SPEED * if dev_mode { 2.5 } else { 1.0 },
|
chat_speed: DEFAULT_CHAT_SPEED * if dev_mode { 2.5 } else { 1.0 },
|
||||||
flashlight_active: false,
|
flashlight_active: false,
|
||||||
hud_active: true,
|
hud_active: true,
|
||||||
|
|
Loading…
Reference in a new issue