From b4b2729e96eff73ec3f00d77bb5e5cc115a77992 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Fri, 5 Jun 2020 16:56:12 +0100 Subject: [PATCH] Do a sync-redraw after clearing to ensure clean state --- packages/node_modules/@node-red/editor-client/src/js/nodes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/node_modules/@node-red/editor-client/src/js/nodes.js b/packages/node_modules/@node-red/editor-client/src/js/nodes.js index 5d65befd3..68ea374d6 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/nodes.js +++ b/packages/node_modules/@node-red/editor-client/src/js/nodes.js @@ -1546,7 +1546,7 @@ RED.nodes = (function() { defaultWorkspace = null; initialLoad = null; RED.nodes.dirty(false); - RED.view.redraw(true); + RED.view.redraw(true, true); RED.palette.refresh(); RED.workspaces.refresh(); RED.sidebar.config.refresh();