Keyboard shortcuts of this extension now override everything else.

This commit is contained in:
Tamius Han 2017-01-09 20:31:07 +01:00
parent 8163ade387
commit 43a3da6c56

View File

@ -401,6 +401,8 @@ function keydownSetup(){
if(debugmsg) if(debugmsg)
console.log("we pressed a key: ", event.key , " | mods match?", mods, "keybinding: ", KEYBINDS[i]); console.log("we pressed a key: ", event.key , " | mods match?", mods, "keybinding: ", KEYBINDS[i]);
if(mods){ if(mods){
event.stopPropagation();
console.log("uw::keydown | keys match. calling changeCSS()"); console.log("uw::keydown | keys match. calling changeCSS()");
if(KEYBINDS[i].action == "char"){ if(KEYBINDS[i].action == "char"){
changeCSS("char", KEYBINDS[i].targetAR); changeCSS("char", KEYBINDS[i].targetAR);