slider: prevent built-in input from sending

This commit is contained in:
jean-emmanuel 2019-04-08 20:23:41 +02:00
parent 4801bd88e9
commit a47f2eb6af

View file

@ -91,6 +91,7 @@ class Slider extends Canvas {
parent:this, parentNode:this.widget
})
this.input.sendValue = ()=>{}
this.widget.appendChild(this.input.widget)
this.input.on('change', (e)=>{
e.stopPropagation = true