iceddev / iggins

Irken plugin for listening for key combinations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix Ctrl-S Predicate

spatializes opened this issue · comments

Ctrl-S conflicts with Ctrl-Shift-S because Ctrl-S does not define shift as false. Needs to be updated with false shift.

Something like this:

CTRL_S: function({ ctrlKey, metaKey, keyCode, shiftKey }){
        return ((ctrlKey === true || metaKey === true) && shiftKey === false && keyCode === 83);
}