rgb: prevent double draw when dragging
This commit is contained in:
parent
0ac957471a
commit
4d669ec005
1 changed files with 1 additions and 1 deletions
|
|
@ -190,7 +190,7 @@ Rgb.prototype.setValue = function(v, options={}){
|
|||
if (options.send) this.sendValue()
|
||||
if (options.sync) this.widget.trigger({type:'sync', id:this.widgetData.id,widget:this.widget, linkId:this.widgetData.linkId, options:options})
|
||||
|
||||
this.update()
|
||||
if (!options.dragged) this.update()
|
||||
}
|
||||
|
||||
Rgb.prototype.update = function(options={}) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue