ui: Mirror option key in keybindings (#3065)
  Release Notes: - Fixed option key's appearance in keybindings
This commit is contained in:
@@ -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('⌘')?;
|
||||
|
||||
Reference in New Issue
Block a user