client sync: use raw target to avoid comparison errors
This commit is contained in:
parent
ee77a7aa2c
commit
4a749c182c
3 changed files with 13 additions and 3 deletions
|
|
@ -40,7 +40,7 @@ module.exports = {
|
|||
|
||||
ipc.send('sessionList', recentSessions, clientId)
|
||||
ipc.send('serverTargets', settings.read('targets'), clientId)
|
||||
|
||||
|
||||
},
|
||||
|
||||
sessionAddToHistory: function(data) {
|
||||
|
|
@ -269,6 +269,9 @@ module.exports = {
|
|||
data[k] = shortdata[k]
|
||||
}
|
||||
|
||||
// only rawTarget will be used
|
||||
delete data.target
|
||||
|
||||
data.args = data.preArgs ? data.preArgs.concat(value) : [value]
|
||||
|
||||
if (!data.noSync) ipc.send('receiveOsc', data, null, clientId)
|
||||
|
|
@ -358,6 +361,9 @@ module.exports = {
|
|||
}
|
||||
}
|
||||
|
||||
// store raw target for client sync widget matching
|
||||
cache._rawTarget = widgetData.target
|
||||
|
||||
},
|
||||
|
||||
removeWidget(data, clientId) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue