forge
Explore
Log in

Don't you dare go Hollow

The dock says its chords the way the room does

Browse files at this commit

ac0875105a21f4cd8afb3ff1b750d69f13e05c2eAhmet Kaan GümüşParent: 4137821
  • style
    • the dock says its chords the way the room does
Show full message
💄 style(ui): the dock says its chords the way the room does

The import verbs spelled out ctrl+o while every other badge in the room
reads the compact stroke.
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}"),