From 1bc0ba313a3a169066d40c782da6eefb81adef13 Mon Sep 17 00:00:00 2001 From: AkiChase <1003019131@qq.com> Date: Mon, 10 Mar 2025 19:18:28 +0800 Subject: [PATCH] fix(KeyBoard): key repeat check --- src/components/keyboard/KeyBoard.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/keyboard/KeyBoard.vue b/src/components/keyboard/KeyBoard.vue index 90002ad..4d473ee 100644 --- a/src/components/keyboard/KeyBoard.vue +++ b/src/components/keyboard/KeyBoard.vue @@ -171,7 +171,6 @@ function isKeyUnique(curKey: string): boolean { set.add((keyMapping as KeyMappingSteeringWheel).key[name]); } } else if (keyMapping.type !== "Fire") { - if (set.has(keyMapping.key as string)) return false; set.add(keyMapping.key as string); } }