Open johnnybenson opened 4 years ago
When overriding shortcuts that may have existing functionality, you would need to preventDefault.
By passing the event to the callback, it lets the developer decide what to do!
Suggesting as an alternative to https://github.com/parro-it/electron-localshortcut/pull/92
When overriding shortcuts that may have existing functionality, you would need to preventDefault.
By passing the event to the callback, it lets the developer decide what to do!
Suggesting as an alternative to https://github.com/parro-it/electron-localshortcut/pull/92