text: apply target's precision to value

This commit is contained in:
jean-emmanuel 2018-01-02 13:56:08 +01:00
parent 8fcf7e2cf0
commit ef52135525
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@
- bug fixes
- plots now send their value to other widget for synchronization as expected
- text widgets now apply their target widget's precision
## 0.22.0

View file

@ -71,7 +71,7 @@ module.exports = class Text extends _widgets_base {
value
for (var i=widget.length-1; i>=0; i--) {
if (widget[i].getValue) {
this.setValue(widget[i].getValue(), {sync: e.options.sync})
this.setValue(widget[i].getValue(true), {sync: e.options.sync})
return
}
}