sync: typo breaking sync when a single string target is set (#598)
This commit is contained in:
parent
17fcd50918
commit
52896db315
3 changed files with 6 additions and 2 deletions
|
|
@ -49,7 +49,7 @@ var Osc = class Osc extends EventEmitter {
|
|||
if (data._rawTarget) {
|
||||
// if the message target is provided (when message comes from another client connected to the same server)
|
||||
// then we only update the widgets that have the exact same target
|
||||
match = deepEqual(widgetTarget, data.target)
|
||||
match = deepEqual(widgetTarget, data._rawTarget)
|
||||
} else if (data.host === 'midi') {
|
||||
// if the message comes from a midi port, only update widgets that send to that port
|
||||
let widgetArrayTarget = Array.isArray(widgetTarget) ? widgetTarget : [widgetTarget],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue