fix: prevent hold/release shortcut from being empty
This commit is contained in:
1 parent
5019349104
commit
1158a32126
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user