mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-07 20:39:04 +03:00
Correctly show the shift
icon for keybindings on macOS (#9235)
Release Notes: - N/A Co-authored-by: Nathan <nathan@zed.dev>
This commit is contained in:
parent
ece0fb532d
commit
e7289c385d
@ -132,7 +132,7 @@ impl RenderOnce for KeyBinding {
|
||||
}
|
||||
})
|
||||
.when(keystroke.modifiers.shift, |el| match self.display {
|
||||
KeyBindingDisplay::Mac => el.child(KeyIcon::new(IconName::Option)),
|
||||
KeyBindingDisplay::Mac => el.child(KeyIcon::new(IconName::Shift)),
|
||||
KeyBindingDisplay::Linux | KeyBindingDisplay::Windows => {
|
||||
el.child(Key::new("Shift")).child(Key::new("+"))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user