Merge branch 'master' of github.com:jean-emmanuel/open-stage-control

This commit is contained in:
bordun 2020-03-05 22:34:23 +01:00
commit 810f18a2e5
3 changed files with 6 additions and 2 deletions

View file

@ -1,5 +1,9 @@
# Changelog
## 0.49.7
- bug fixes
- sync issues when widgets have a single target set
## 0.49.6

View file

@ -2,7 +2,7 @@
"name": "open-stage-control",
"productName": "Open Stage Control",
"description": "Libre and modular OSC / MIDI controller",
"version": "0.49.6",
"version": "0.49.7",
"author": {
"name": "Jean-Emmanuel Doucet",
"email": "jean-emmanuel@ammd.net"

View file

@ -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],