From c379a6f2fb6c02ad856f354ae46c82f520d4f31a Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Fri, 29 Sep 2023 11:02:35 -0400 Subject: [PATCH] ui: Fix glyph used for option key in `Keybinding` (#3066) This PR fixes the glyph used for the option key in the new `Keybinding` component. Same fix as in #3065, but applied to the new `Keybinding` component so that we don't regress when switching to GPUI2. Screenshot 2023-09-29 at 10 50 15 AM Release Notes: - N/A --- 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 c467933e94..63c5f11039 100644 --- a/crates/ui/src/components/keybinding.rs +++ b/crates/ui/src/components/keybinding.rs @@ -92,7 +92,7 @@ impl ModifierKey { pub fn glyph(&self) -> char { match self { Self::Control => '^', - Self::Alt => '⎇', + Self::Alt => '⌥', Self::Command => '⌘', Self::Shift => '⇧', }