mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Fix shortcuts firing like crazy
whoops
This commit is contained in:
@@ -6161,6 +6161,7 @@ function initalizeTooltips() {
|
||||
(function() {
|
||||
document.addEventListener("keydown", function(event) {
|
||||
for (const shortcut of shortcuts) {
|
||||
if (!(event.ctrlKey || event.altKey)) continue;
|
||||
if (event.ctrlKey && shortcut.mod !== "ctrl") continue;
|
||||
if (event.altKey && shortcut.mod !== "alt") continue;
|
||||
|
||||
|
Reference in New Issue
Block a user