osc: add missing feedback support for widgets with typed preArgs (#314)
This commit is contained in:
parent
e63aa279f2
commit
dfa6bcfc8a
2 changed files with 7 additions and 0 deletions
|
|
@ -70,6 +70,8 @@ var WidgetManager = class WidgetManager extends EventEmitter {
|
|||
|
||||
if (!Array.isArray(preArgs) && preArgs !== '') preArgs = [preArgs]
|
||||
|
||||
preArgs = preArgs.map(x=>typeof x === 'object' && x !== null && x.value !== undefined ? x.value : x)
|
||||
|
||||
return preArgs && preArgs.length ?
|
||||
address + this.preArgsSeparator + preArgs.join(this.preArgsSeparator)
|
||||
: address
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue