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
|
||||
E: Interact
|
||||
F: Flashlight
|
||||
|
|
|
@ -222,7 +222,7 @@ pub fn setup(
|
|||
},
|
||||
)).with_children(|builder| {
|
||||
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(|_|
|
||||
TextSection::new("", style_achievement.clone())
|
||||
|
@ -267,7 +267,10 @@ pub fn setup(
|
|||
builder.spawn((
|
||||
TextBundle {
|
||||
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,
|
||||
..default()
|
||||
},
|
||||
|
|
|
@ -200,7 +200,7 @@ impl Default for Settings {
|
|||
hud_color_achievement_header: Color::hex("#BE1251").unwrap(),
|
||||
hud_color_death: 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 },
|
||||
flashlight_active: false,
|
||||
hud_active: true,
|
||||
|
|
Loading…
Reference in a new issue