xy; return a new value array @getValue to avoid object memory sharing
This commit is contained in:
parent
3aec08b456
commit
cd9c27a156
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ var Xy = function(widgetData) {
|
|||
this.showValue(1)
|
||||
|
||||
this.widget.getValue = () => {
|
||||
return this.value
|
||||
return [this.value[0], this.value[1]]
|
||||
}
|
||||
this.widget.setValue = (v,o) => {
|
||||
this.setValue(v,o)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue