diff options
Diffstat (limited to 'Framework')
| -rw-r--r-- | Framework/MASShortcutView.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Framework/MASShortcutView.m b/Framework/MASShortcutView.m index 716edba..cdb7855 100644 --- a/Framework/MASShortcutView.m +++ b/Framework/MASShortcutView.m @@ -379,7 +379,7 @@ void *kUserDataHint = &kUserDataHint; eventMonitor = [NSEvent addLocalMonitorForEventsMatchingMask:eventMask handler:^(NSEvent *event) { MASShortcut *shortcut = [MASShortcut shortcutWithEvent:event]; - if ((shortcut.keyCode == kVK_Delete) || (shortcut.keyCode == kVK_ForwardDelete)) { + if ((shortcut.modifierFlags == 0) && ((shortcut.keyCode == kVK_Delete) || (shortcut.keyCode == kVK_ForwardDelete))) { // Delete shortcut weakSelf.shortcutValue = nil; weakSelf.recording = NO; |
