add log scale support to multifader

This commit is contained in:
jean-emmanuel 2016-03-12 17:39:26 +01:00
parent 03ba93f16f
commit 6626e1f531

View file

@ -20,6 +20,7 @@ module.exports.options = {
separator2:'osc',
range:{min:0,max:1},
logScale:false,
precision:2,
path:'auto',
target:[]
@ -43,6 +44,7 @@ module.exports.create = function(widgetData,container) {
horizontal:false,
absolute:true,
range:widgetData.range,
logScale:widgetData.logScale,
precision:widgetData.precision,
path:widgetData.path + '/' + i,
target:widgetData.target