- 
                Notifications
    You must be signed in to change notification settings 
- Fork 38
Open
Description
I noticed you are using the before-input-event event to listen for shortcuts. Would it be possible to prevent the default action by reading the result from the callback function?
electron-localshortcut/index.js
Line 135 in 3fbd63a
| callback(); | 
Exactly in this place and call e.preventDefault() if the result is true.
TimoKunze, johnnybenson and ozomer
Metadata
Metadata
Assignees
Labels
No labels