-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prevent default event action #69
Comments
Yes, would be great. |
Yes, I think too it should be useful. |
@parro-it I'll create a PR for this from my fork in the next days. |
thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 thecallback
function?electron-localshortcut/index.js
Line 135 in 3fbd63a
Exactly in this place and call
e.preventDefault()
if the result istrue
.The text was updated successfully, but these errors were encountered: