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