mirror of
https://github.com/zed-industries/zed.git
synced 2024-09-19 02:17:35 +03: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
@ -265,7 +265,7 @@ impl PickerDelegate for CommandPaletteDelegate {
|
|||||||
.with_children(
|
.with_children(
|
||||||
[
|
[
|
||||||
(keystroke.ctrl, "^"),
|
(keystroke.ctrl, "^"),
|
||||||
(keystroke.alt, "⎇"),
|
(keystroke.alt, "⌥"),
|
||||||
(keystroke.cmd, "⌘"),
|
(keystroke.cmd, "⌘"),
|
||||||
(keystroke.shift, "⇧"),
|
(keystroke.shift, "⇧"),
|
||||||
]
|
]
|
||||||
|
@ -112,7 +112,7 @@ impl std::fmt::Display for Keystroke {
|
|||||||
f.write_char('^')?;
|
f.write_char('^')?;
|
||||||
}
|
}
|
||||||
if self.alt {
|
if self.alt {
|
||||||
f.write_char('⎇')?;
|
f.write_char('⌥')?;
|
||||||
}
|
}
|
||||||
if self.cmd {
|
if self.cmd {
|
||||||
f.write_char('⌘')?;
|
f.write_char('⌘')?;
|
||||||
|
Loading…
Reference in New Issue
Block a user