improved led and fixed knob overflow

This commit is contained in:
jean-emmanuel 2016-03-21 12:33:48 +01:00
parent 33211b863a
commit d13d12d629
4 changed files with 16 additions and 7 deletions

View file

@ -36,6 +36,8 @@ module.exports.create = function(widgetData,container) {
led.css('opacity',mapToScale(v,[range.min,range.max],[0,1],widgetData.precision,widgetData.logScale,true))
if (sync) widget.trigger('sync',[widgetData.id,widget])
}
widget.getValue = function(){return}
widget.setValue(range.min)
return widget
}