mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-21 09:23:00 +00:00
feat: read full chord actions every time
feat: add special view for compound chords fix: make it possible to delete compound chords fixes #94
This commit is contained in:
@@ -48,9 +48,7 @@ export function deserializeActions(native: bigint): number[] {
|
||||
const actions = []
|
||||
for (let i = 0; i < 12; i++) {
|
||||
const action = Number(native & 0x3ffn)
|
||||
if (action !== 0) {
|
||||
actions.push(action)
|
||||
}
|
||||
actions.push(action)
|
||||
native >>= 10n
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user