mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-24 17:28:40 +00:00
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:
parent
4dd9c9e2b9
commit
488a3eeace
2 changed files with 2 additions and 2 deletions
|
@ -265,7 +265,7 @@ impl PickerDelegate for CommandPaletteDelegate {
|
|||
.with_children(
|
||||
[
|
||||
(keystroke.ctrl, "^"),
|
||||
(keystroke.alt, "⎇"),
|
||||
(keystroke.alt, "⌥"),
|
||||
(keystroke.cmd, "⌘"),
|
||||
(keystroke.shift, "⇧"),
|
||||
]
|
||||
|
|
|
@ -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('⌘')?;
|
||||
|
|
Loading…
Reference in a new issue