Fix/Improve linting

This commit is contained in:
2026-08-06 08:50:21 +02:00
parent f641ad5f43
commit 06a16c5b64
288 changed files with 3372 additions and 1536 deletions
+6 -2
View File
@@ -14,8 +14,12 @@ function allowKey(key: number) {
function fixKeyCode(key: number) {
if (firefox) {
if (key === 173) return Key.DASH;
if (key === 61) return Key.EQUALS;
if (key === 173) {
return Key.DASH;
}
if (key === 61) {
return Key.EQUALS;
}
}
return key;