Skip to content

Commit

Permalink
fix: prevent hold/release shortcut from being empty
Browse files Browse the repository at this point in the history
  • Loading branch information
lwouis committed Apr 8, 2020
1 parent 5019349 commit 1158a32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ui/generic-components/UnclearableRecorderControl.swift
Expand Up @@ -6,6 +6,7 @@ class UnclearableRecorderControl: RecorderControl, RecorderControlDelegate {
self.init(frame: .zero)
delegate = self
allowsEscapeToCancelRecording = false
allowsDeleteToClearShortcutAndEndRecording = false
set(allowedModifierFlags: CocoaModifierFlagsMask, requiredModifierFlags: [], allowsEmptyModifierFlags: true)
if modifierFlagsOnly {
allowsModifierFlagsOnlyShortcut = true
Expand Down

0 comments on commit 1158a32

Please sign in to comment.