Merge pull request #182 from Pax1601/176-minus-keystroke-zooms-out-and-brings-up-unit-list

Removed callback at "minus" keypress
This commit is contained in:
Pax1601 2023-04-09 10:12:41 +02:00 committed by GitHub
commit 1b093782c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -174,21 +174,16 @@ function setupEvents() {
}
switch (ev.code) {
case "KeyL":
document.body.toggleAttribute("data-hide-labels");
break;
case "KeyD":
toggleDemoEnabled();
break;
case "Minus": // For Veltro's italian layout keyboard, which lacks a quote
case "Quote":
unitDataTable.toggle();
break
}
});
/*