crossfader: fix type name in default options
This commit is contained in:
parent
b3f1d073b0
commit
debcb99f21
1 changed files with 2 additions and 1 deletions
|
|
@ -7,6 +7,7 @@ module.exports = class Crossfader extends Switcher {
|
|||
static options(){
|
||||
|
||||
var o = super.options()
|
||||
o.type = 'crossfader'
|
||||
delete o.values
|
||||
|
||||
return o
|
||||
|
|
@ -67,7 +68,7 @@ module.exports = class Crossfader extends Switcher {
|
|||
|
||||
|
||||
} else if (!isNaN(v)) {
|
||||
|
||||
|
||||
this.fader.setValue(v, {dragged:options.dragged})
|
||||
this.value._fader = this.fader.getValue()
|
||||
this.value._selected = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue