Merge branch 'master' of github.com:jean-emmanuel/open-stage-control
This commit is contained in:
commit
50cb3c429f
14 changed files with 114 additions and 62 deletions
|
|
@ -116,6 +116,14 @@ class Switch extends MenuBase {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
setCssVariables() {
|
||||
|
||||
super.setCssVariables()
|
||||
|
||||
this.container.classList.toggle('padding-0', this.getProp('padding') === -1)
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Switch.cssVariables = Switch.prototype.constructor.cssVariables.concat(
|
||||
|
|
|
|||
|
|
@ -157,7 +157,7 @@ class ScriptVm extends Vm {
|
|||
|
||||
filter = Array.isArray(filter) ? filter : [filter]
|
||||
|
||||
var containers = this.filter.map(x=>this.resolveId(id)).reduce((a,b)=>a.concat(b), [])
|
||||
var containers = filter.map(x=>this.resolveId(x)).reduce((a,b)=>a.concat(b), [])
|
||||
|
||||
if (!containers.length) return
|
||||
filter = (widget)=>{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue