new feature : preArgs option to prepend constant values in widgets' osc messages
This commit is contained in:
parent
f04cd39587
commit
44da95dcec
21 changed files with 387 additions and 125 deletions
|
|
@ -27,14 +27,14 @@ module.exports = function(ipc, settings) {
|
|||
if (typeof arg == 'number') {
|
||||
message.append({type:numberType,value:arg})
|
||||
} else {
|
||||
message.append({type:'string',value:arg})
|
||||
message.append({type:'string',value:String(arg)})
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (typeof args == 'number') {
|
||||
message.append({type:numberType,value:args})
|
||||
} else {
|
||||
message.append({type:'string',value:args})
|
||||
message.append({type:'string',value:String(args)})
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue