Skip to content

Commit

Permalink
chore: Update Keysets.jsm
Browse files Browse the repository at this point in the history
  • Loading branch information
117649 committed Apr 21, 2024
1 parent 05f9e3d commit 3c45de3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions resource/modules/utils/Keysets.jsm
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ this.Keysets = {

// we only translate the ones we actually use in here
translateFromConstantCode: function(keycode) {
if(!keycode) return '';
let key = keycode;
if(key.startsWith('DOM_')) { key = key.substr(4); }
if(key.startsWith('VK_')) { key = key.substr(3); }
Expand Down

0 comments on commit 3c45de3

Please sign in to comment.