state: enable widget sync at state get to make sure plots get updated
This commit is contained in:
parent
6aa679885d
commit
a7db945999
2 changed files with 2 additions and 2 deletions
|
|
@ -72,7 +72,7 @@ module.exports = {
|
|||
if (WIDGETS[data[0]]!=undefined) {
|
||||
for (var i=WIDGETS[data[0]].length-1;i>=0;i--) {
|
||||
if (WIDGETS[data[0]][i].setValue) {
|
||||
WIDGETS[data[0]][i].setValue(data[1],send,false)
|
||||
WIDGETS[data[0]][i].setValue(data[1],send,true)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@ module.exports = {
|
|||
if (WIDGETS[data[0]]!=undefined) {
|
||||
for (var i=WIDGETS[data[0]].length-1;i>=0;i--) {
|
||||
if (WIDGETS[data[0]][i].setValue) {
|
||||
WIDGETS[data[0]][i].setValue(data[1],send,false)
|
||||
WIDGETS[data[0]][i].setValue(data[1],send,true)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue