Skip to content

Conversation

@mrmarktyy
Copy link

Add support for multiple key strokes combinations, for example,

key('ctrl+r+s', function(){ alert('stopped reload!'); });
key('ctrl+shift+r', function(){ alert('reload!'); });
key('command+alt+p', function(){ alert('pause!!'); });
key('command+shift+w+p', function(){ alert('do something!!'); });

@mrmarktyy
Copy link
Author

Hi, Please let me know if you have any suggestion before merging in. Thank you

…command+shift+c, command+tab), then some keys state won't be released in as events are fired in other window objects. As a result, it causes bug in method when comparing registed shortcuts with key states in So just reset the in window event handle which is here.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant