diff --git a/client/js/keybinds.js b/client/js/keybinds.js index c5196f18..5a9052df 100644 --- a/client/js/keybinds.js +++ b/client/js/keybinds.js @@ -167,7 +167,8 @@ const colorsHotkeys = { for (const hotkey in colorsHotkeys) { inputTrap.bind("mod+" + hotkey, function(e) { - const modifier = colorsHotkeys[e.key]; + // Key is lowercased because keybinds also get processed if caps lock is on + const modifier = colorsHotkeys[e.key.toLowerCase()]; wrapCursor( e.target,