mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-07 02:22:52 +00:00
@@ -32,7 +32,7 @@
|
|||||||
await port.setLayoutKey(change.layer + 1, change.id, change.action)
|
await port.setLayoutKey(change.layer + 1, change.id, change.action)
|
||||||
break
|
break
|
||||||
case ChangeType.Chord:
|
case ChangeType.Chord:
|
||||||
if (change.phrase) {
|
if (change.phrase.length > 0) {
|
||||||
await port.setChord({actions: change.actions, phrase: change.phrase})
|
await port.setChord({actions: change.actions, phrase: change.phrase})
|
||||||
} else {
|
} else {
|
||||||
await port.deleteChord({actions: change.actions})
|
await port.deleteChord({actions: change.actions})
|
||||||
|
|||||||
Reference in New Issue
Block a user