mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Merge branch 'pr_2523' into dev
This commit is contained in:
commit
04da13eaf9
@ -1599,8 +1599,9 @@ RED.nodes = (function() {
|
||||
});
|
||||
removeLinks.forEach(removeLink);
|
||||
|
||||
|
||||
RED.view.redraw(true);
|
||||
// Force the redraw to be synchronous so the view updates
|
||||
// *now* and removes the unknown node
|
||||
RED.view.redraw(true, true);
|
||||
var result = importNodes(reimportList,false);
|
||||
var newNodeMap = {};
|
||||
result[0].forEach(function(n) {
|
||||
|
@ -4559,13 +4559,18 @@ if (DEBUG_EVENTS) { console.warn("nodeMouseDown", mouse_mode,d); }
|
||||
mouse_mode = state;
|
||||
}
|
||||
},
|
||||
|
||||
updateActive: updateActiveNodes,
|
||||
redraw: function(updateActive) {
|
||||
redraw: function(updateActive, syncRedraw) {
|
||||
if (updateActive) {
|
||||
updateActiveNodes();
|
||||
updateSelection();
|
||||
}
|
||||
redraw();
|
||||
if (syncRedraw) {
|
||||
_redraw();
|
||||
} else {
|
||||
redraw();
|
||||
}
|
||||
},
|
||||
focus: focusView,
|
||||
importNodes: importNodes,
|
||||
|
Loading…
Reference in New Issue
Block a user