Allow both cases in shift+hotkeys #67

Merged
escapee merged 1 commit from escapee/profectus-template:main into main 2024-02-22 00:18:21 +00:00

View file

@ -108,7 +108,7 @@ document.onkeydown = function (e) {
if (e.ctrlKey) {
key = "ctrl+" + key;
}
const hotkey = hotkeys[key];
const hotkey = hotkeys[key] ?? hotkeys[key.toLowerCase()];
if (hotkey && unref(hotkey.enabled)) {
e.preventDefault();
hotkey.onPress();