osc: add missing feedback support for widgets with typed preArgs (#314)

This commit is contained in:
jean-emmanuel 2018-06-09 09:18:43 +02:00
parent c8cd691c75
commit ae7fce5b06
2 changed files with 7 additions and 0 deletions

View file

@ -1,5 +1,10 @@
# Changelog
## 0.32.5
- bug fixes
- missing feedback support for widgets with typed preArgs
## 0.32.4
- bug fixes

View file

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