ui: Mirror option key in keybindings (#3065)
  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(
|
.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…
Add table
Add a link
Reference in a new issue