sliders: prevent sending the same value over and over while using mousewheel
This commit is contained in:
parent
1acbc38723
commit
580d2c747b
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ _sliders_base.prototype.mousewheelHandle = function(e, data, traversing) {
|
|||
|
||||
this.percent = clip(this.percent + Math.max(increment,10/Math.pow(10,this.widgetData.precision)) * direction ,[0,100])
|
||||
|
||||
this.setValue(this.percentToValue(this.percent), {sync:true,send:true})
|
||||
this.setValue(this.percentToValue(this.percent), {sync:true,send:true,dragged:true})
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue