Honor shift when converting keystroke to native key equivalent
This commit is contained in:
parent
6b9c1e78c1
commit
fe7ba09d52
1 changed files with 1 additions and 0 deletions
|
@ -184,6 +184,7 @@ impl MacForegroundPlatform {
|
|||
(keystroke.cmd, NSEventModifierFlags::NSCommandKeyMask),
|
||||
(keystroke.ctrl, NSEventModifierFlags::NSControlKeyMask),
|
||||
(keystroke.alt, NSEventModifierFlags::NSAlternateKeyMask),
|
||||
(keystroke.shift, NSEventModifierFlags::NSShiftKeyMask),
|
||||
] {
|
||||
if *modifier {
|
||||
mask |= *flag;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue