osc: add support for osc typetag in widget's precision property (issue #137)

This commit is contained in:
jean-emmanuel 2018-01-26 11:05:39 +01:00
parent 99c8dcb856
commit 3e9a56e3e8
4 changed files with 14 additions and 7 deletions

View file

@ -24,7 +24,7 @@ var WidgetManager = class WidgetManager extends EventEmitter {
ipc.send('addWidget', {
hash:hash,
data:{
precision: this.widgets[hash].precision,
precision: this.widgets[hash].getProp('precision'),
preArgs: this.widgets[hash].getProp('preArgs'),
split: this.widgets[hash].split,
target: this.widgets[hash].getProp('target'),
@ -107,7 +107,7 @@ var WidgetManager = class WidgetManager extends EventEmitter {
ipc.send('addWidget', {
hash:hash,
data:{
precision: widget.precision,
precision: widget.getProp('precision'),
preArgs: widget.getProp('preArgs'),
split: widget.split,
target: widget.getProp('target'),