compact multifader and default knob compact set to false
This commit is contained in:
parent
0a6db1dd7f
commit
b97ba230a7
4 changed files with 12 additions and 4 deletions
|
|
@ -18,7 +18,7 @@ module.exports.options = {
|
|||
height:'auto',
|
||||
color:'auto',
|
||||
noPip:false,
|
||||
compact:true,
|
||||
compact:false,
|
||||
css:'',
|
||||
|
||||
separator2:'behaviour',
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ module.exports.options = {
|
|||
width:'auto',
|
||||
height:'auto',
|
||||
color:'auto',
|
||||
compact:false,
|
||||
css:'',
|
||||
|
||||
|
||||
|
|
@ -53,7 +54,8 @@ module.exports.create = function(widgetData,container) {
|
|||
path:widgetData.path + '/' + i,
|
||||
preArgs:widgetData.preArgs,
|
||||
target:widgetData.target,
|
||||
noPip:true
|
||||
noPip:true,
|
||||
compact:widgetData.compact
|
||||
}
|
||||
var element = parsewidgets([data],widget)
|
||||
element[0].setAttribute('style',`width:${100/widgetData.strips}%`)
|
||||
|
|
|
|||
|
|
@ -2012,7 +2012,7 @@ module.exports.options = {
|
|||
height:'auto',
|
||||
color:'auto',
|
||||
noPip:false,
|
||||
compact:true,
|
||||
compact:false,
|
||||
css:'',
|
||||
|
||||
separator2:'behaviour',
|
||||
|
|
@ -2408,6 +2408,7 @@ module.exports.options = {
|
|||
width:'auto',
|
||||
height:'auto',
|
||||
color:'auto',
|
||||
compact:false,
|
||||
css:'',
|
||||
|
||||
|
||||
|
|
@ -2446,7 +2447,8 @@ module.exports.create = function(widgetData,container) {
|
|||
path:widgetData.path + '/' + i,
|
||||
preArgs:widgetData.preArgs,
|
||||
target:widgetData.target,
|
||||
noPip:true
|
||||
noPip:true,
|
||||
compact:widgetData.compact
|
||||
}
|
||||
var element = parsewidgets([data],widget)
|
||||
element[0].setAttribute('style',`width:${100/widgetData.strips}%`)
|
||||
|
|
|
|||
|
|
@ -31,6 +31,10 @@ Multifader creates a row of vertical faders that respond to the same gestures.
|
|||
#### `unit`
|
||||
- see fader's [`unit`](sliders/#fader)
|
||||
|
||||
#### `compact`
|
||||
- see fader's [`compact`](sliders/#fader)
|
||||
|
||||
|
||||
----
|
||||
|
||||
## Multitoggle
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue