widgets: solve multi-value-dependency pattern resolution using a single queue instead of timeouts
This commit is contained in:
parent
e2215b865a
commit
8b92400c1e
5 changed files with 41 additions and 26 deletions
|
|
@ -43,6 +43,8 @@ var Parser = class Parser {
|
|||
|
||||
var props = data
|
||||
|
||||
widgetManager.valueChangeLock()
|
||||
|
||||
// Set default widget type
|
||||
props.type = tab ? 'tab' : props.type || 'fader'
|
||||
|
||||
|
|
@ -107,6 +109,8 @@ var Parser = class Parser {
|
|||
parentNode.appendChild(widget.container)
|
||||
widget.mounted = true
|
||||
|
||||
widgetManager.valueChangeUnlock()
|
||||
|
||||
// Editor needs to get the container object
|
||||
return widget
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue