rgb: prevent double draw when dragging

This commit is contained in:
jean-emmanuel 2016-11-03 18:43:08 +01:00
parent 0ac957471a
commit 4d669ec005

View file

@ -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={}) {