I just noticed this when I unknowingly turned on caps lock and tried to select the fill tool by pressing F. I thought my keyboard was broken until I lifted my hands off the keyboard and noticed caps lock was on. I think this should not happen.
woah, never noticed that before. nice catch :o
They are a different ascii code, probably they would need to add both codes into their ifs statements… or a built-in toUpper function to have both letters. Or, Not sure if they want different functionality for caps letters…
Wick Editor can use event.keyCode or event.code, where D and d are the same keycode.
Ok, then, Do you know if you can have different shortcuts using “a” vs “A”? I’ll check that. I haven’t spend time on that…
We are able to assign hotKeys to those…
but, they don’t work with the Caps lock either… So It is not what I was thinking…
We use a third party tool called react-hotkeys (https://github.com/greena13/react-hotkeys) for our hotkey checking. I’ll need to see if they have a setting that allows this