mirror of
https://github.com/AkiChase/scrcpy-mask
synced 2024-11-14 05:21:42 +08:00
fix(applyEditKeyMappingList): ts error
This commit is contained in:
parent
c6d67ab904
commit
1ffece2496
@ -45,7 +45,7 @@ export const useGlobalStore = defineStore("global", () => {
|
||||
if (set.has((keyMapping as KeySteeringWheel).key[name])) return false;
|
||||
set.add((keyMapping as KeySteeringWheel).key[name]);
|
||||
}
|
||||
} else {
|
||||
} else if (keyMapping.type !== "Fire") {
|
||||
if (set.has(keyMapping.key as string)) return false;
|
||||
set.add(keyMapping.key as string);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user