mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
force redraw after node installation
This commit is contained in:
parent
2e364b6d9a
commit
e5150ea012
@ -1499,7 +1499,7 @@ RED.nodes = (function() {
|
|||||||
l.target = newNodeMap[l.target.id];
|
l.target = newNodeMap[l.target.id];
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
RED.view.redraw(true);
|
RED.view.redraw(true, true);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
@ -3765,7 +3765,12 @@ RED.view = (function() {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
redraw: function(updateActive) {
|
redraw: function(updateActive, force) {
|
||||||
|
if (force) {
|
||||||
|
activeNodes = [];
|
||||||
|
activeLinks = [];
|
||||||
|
redraw();
|
||||||
|
}
|
||||||
if (updateActive) {
|
if (updateActive) {
|
||||||
updateActiveNodes();
|
updateActiveNodes();
|
||||||
updateSelection();
|
updateSelection();
|
||||||
|
Loading…
Reference in New Issue
Block a user