mirror of
https://github.com/italicsjenga/muda.git
synced 2024-12-23 12:01:31 +11:00
fix(macos): adjust key_modifier_mask for SUPER modifier (#74)
This commit is contained in:
parent
db49402b5b
commit
f4275fb157
|
@ -114,7 +114,7 @@ impl Accelerator {
|
|||
if mods.contains(Modifiers::SHIFT) {
|
||||
flags.insert(NSEventModifierFlags::NSShiftKeyMask);
|
||||
}
|
||||
if mods.contains(Modifiers::META) {
|
||||
if mods.contains(Modifiers::SUPER) {
|
||||
flags.insert(NSEventModifierFlags::NSCommandKeyMask);
|
||||
}
|
||||
if mods.contains(Modifiers::ALT) {
|
||||
|
|
Loading…
Reference in a new issue