ui: Mirror option key in keybindings (#3065)

![image](https://github.com/zed-industries/zed/assets/24362066/94731737-a21a-4cef-a445-eb855f1a4d3e)

![image](https://github.com/zed-industries/zed/assets/24362066/e879ec9a-70aa-4989-923f-4cca18d01587)

Release Notes:

- Fixed option key's appearance in keybindings
This commit is contained in:
Piotr Osiewicz 2023-09-29 16:45:49 +02:00 committed by GitHub
parent 4dd9c9e2b9
commit 488a3eeace
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -265,7 +265,7 @@ impl PickerDelegate for CommandPaletteDelegate {
.with_children(
[
(keystroke.ctrl, "^"),
(keystroke.alt, ""),
(keystroke.alt, ""),
(keystroke.cmd, ""),
(keystroke.shift, ""),
]

View file

@ -112,7 +112,7 @@ impl std::fmt::Display for Keystroke {
f.write_char('^')?;
}
if self.alt {
f.write_char('')?;
f.write_char('')?;
}
if self.cmd {
f.write_char('⌘')?;