xy: fix spring prop (#581)
This commit is contained in:
parent
ab64f77203
commit
681f6d264a
2 changed files with 6 additions and 1 deletions
|
|
@ -1,5 +1,10 @@
|
|||
# Changelog
|
||||
|
||||
## 0.48.7
|
||||
|
||||
- bug fixes
|
||||
- xy: broken `spring` property
|
||||
|
||||
## 0.48.6
|
||||
|
||||
- bug fixes
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@ module.exports = class Xy extends Pad {
|
|||
this.faders.x.trigger('dragend', e)
|
||||
this.faders.y.trigger('dragend', e)
|
||||
if (this.getProp('spring')) {
|
||||
this.setValue([this.faders.x.springValue,this.faders.y.springValue],{sync:true,send:true})
|
||||
this.setValue([this.faders.x.getSpringValue(),this.faders.y.getSpringValue()],{sync:true,send:true})
|
||||
} else {
|
||||
this.batchDraw()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue