The dock says its chords the way the room does
Browse files at this commitac0875105a21f4cd8afb3ff1b750d69f13e05c2eParent: 4137821- style
- the dock says its chords the way the room does
1 changed file +1 -1
crates/app/src/ui/dock_stance.rsmodified+1 -1
| @@ -83,7 +83,7 @@ fn ghost_verb( | |||
| 83 | on_click: impl Fn(&ClickEvent, &mut Window, &mut App) + 'static, | 83 | on_click: impl Fn(&ClickEvent, &mut Window, &mut App) + 'static, |
| 84 | ) -> impl IntoElement { | 84 | ) -> impl IntoElement { |
| 85 | let enabled = player.enable(action, None); | 85 | let enabled = player.enable(action, None); |
| 86 | - let key = player.keymap.display(action); | 86 | + let key = player.keymap.chord(action); |
| 87 | let say: SharedString = match enabled.why() { | 87 | let say: SharedString = match enabled.why() { |
| 88 | Some(why) => format!("{key} — {why}"), | 88 | Some(why) => format!("{key} — {why}"), |
| 89 | None => format!("{key} — {hint}"), | 89 | None => format!("{key} — {hint}"), |