Allow clicking controls outside the recorder input directly when the recorder is focused (#96)

This commit is contained in:
filipesaz 2022-10-29 14:07:52 +01:00 committed by GitHub
parent 5cf044b041
commit f01895dd4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ extension KeyboardShortcuts {
!self.bounds.insetBy(dx: -clickMargin, dy: -clickMargin).contains(clickPoint)
{
self.blur()
return nil
return event
}
guard event.isKeyEvent else {