feat(KeyBoard): activate new button

This commit is contained in:
AkiChase 2024-05-24 17:57:26 +08:00
parent 35309cfd71
commit f44c0b09f6

View File

@ -139,6 +139,7 @@ function onAddButtonSelect(
} else return;
keyboardStore.edited = true;
store.editKeyMappingList.push(keyMapping as KeyMapping);
keyboardStore.activeButtonIndex = store.editKeyMappingList.length - 1;
}
function isKeyUnique(curKey: string): boolean {