From 4d1af999879af7256e73aba06ed03518d33b670b Mon Sep 17 00:00:00 2001 From: Tasman Drake Date: Sat, 9 Dec 2017 05:32:51 -0700 Subject: [PATCH] Move showManipulationToolbar outside of if statement (#3694) --- lib/network/modules/ManipulationSystem.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/network/modules/ManipulationSystem.js b/lib/network/modules/ManipulationSystem.js index 4fe2d278..c0fbd149 100644 --- a/lib/network/modules/ManipulationSystem.js +++ b/lib/network/modules/ManipulationSystem.js @@ -1156,8 +1156,8 @@ class ManipulationSystem { this.options.addNode(defaultData, (finalizedData) => { if (finalizedData !== null && finalizedData !== undefined && this.inMode === 'addNode') { // if for whatever reason the mode has changes (due to dataset change) disregard the callback this.body.data.nodes.getDataSet().add(finalizedData); - this.showManipulatorToolbar(); } + this.showManipulatorToolbar(); }); } else {