improved led and fixed knob overflow
This commit is contained in:
parent
33211b863a
commit
d13d12d629
4 changed files with 16 additions and 7 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue