mirror of
https://github.com/AkiChase/scrcpy-mask
synced 2025-02-23 15:32:17 +08:00
feat(KeyBoard): activate new button
This commit is contained in:
parent
35309cfd71
commit
f44c0b09f6
@ -139,6 +139,7 @@ function onAddButtonSelect(
|
|||||||
} else return;
|
} else return;
|
||||||
keyboardStore.edited = true;
|
keyboardStore.edited = true;
|
||||||
store.editKeyMappingList.push(keyMapping as KeyMapping);
|
store.editKeyMappingList.push(keyMapping as KeyMapping);
|
||||||
|
keyboardStore.activeButtonIndex = store.editKeyMappingList.length - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
function isKeyUnique(curKey: string): boolean {
|
function isKeyUnique(curKey: string): boolean {
|
||||||
|
Loading…
Reference in New Issue
Block a user