From e7289c385d6376ae0fb9a06bb0fa34230cdbbf81 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Tue, 12 Mar 2024 18:27:24 +0100 Subject: [PATCH] Correctly show the `shift` icon for keybindings on macOS (#9235) Release Notes: - N/A Co-authored-by: Nathan --- crates/ui/src/components/keybinding.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ui/src/components/keybinding.rs b/crates/ui/src/components/keybinding.rs index 5e64c0b879fbf74f5b3fcef421d9d34de0434e51..3135a076d940610d5f0111c37d4b5a7398af76c6 100644 --- a/crates/ui/src/components/keybinding.rs +++ b/crates/ui/src/components/keybinding.rs @@ -132,7 +132,7 @@ impl RenderOnce for KeyBinding { } }) .when(keystroke.modifiers.shift, |el| match self.display { - KeyBindingDisplay::Mac => el.child(KeyIcon::new(IconName::Option)), + KeyBindingDisplay::Mac => el.child(KeyIcon::new(IconName::Shift)), KeyBindingDisplay::Linux | KeyBindingDisplay::Windows => { el.child(Key::new("Shift")).child(Key::new("+")) }