mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-24 17:28:40 +00:00
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. <img width="750" alt="Screenshot 2023-09-29 at 10 50 15 AM" src="https://github.com/zed-industries/zed/assets/1486634/8c6147e9-fa05-4804-954c-b8e3b98cbdf0"> Release Notes: - N/A
This commit is contained in:
parent
488a3eeace
commit
c379a6f2fb
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ impl ModifierKey {
|
|||
pub fn glyph(&self) -> char {
|
||||
match self {
|
||||
Self::Control => '^',
|
||||
Self::Alt => '⎇',
|
||||
Self::Alt => '⌥',
|
||||
Self::Command => '⌘',
|
||||
Self::Shift => '⇧',
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue