pull current changes #1

Merged
nif merged 8 commits from profectus/Profectus:main into main 2024-03-02 19:40:14 +00:00
Showing only changes of commit b40d4bef32 - Show all commits

View file

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