diff --git a/dist/vis.js b/dist/vis.js index 6f388263..354a48dc 100644 --- a/dist/vis.js +++ b/dist/vis.js @@ -5,7 +5,7 @@ * A dynamic, browser-based visualization library. * * @version 3.7.2-SNAPSHOT - * @date 2014-12-03 + * @date 2014-12-04 * * @license * Copyright (C) 2011-2014 Almende B.V, http://almende.com @@ -32468,11 +32468,13 @@ return /******/ (function(modules) { // webpackBootstrap } var locale = this.constants.locales[this.constants.locale]; + if (this.edgeBeingEdited !== undefined) { this.edgeBeingEdited._disableControlNodes(); this.edgeBeingEdited = undefined; this.selectedControlNode = null; this.controlNodesActive = false; + this._redraw(); } // restore overloaded functions diff --git a/lib/network/mixins/ManipulationMixin.js b/lib/network/mixins/ManipulationMixin.js index 0f69e2df..264b5166 100644 --- a/lib/network/mixins/ManipulationMixin.js +++ b/lib/network/mixins/ManipulationMixin.js @@ -71,11 +71,13 @@ exports._createManipulatorBar = function() { } var locale = this.constants.locales[this.constants.locale]; + if (this.edgeBeingEdited !== undefined) { this.edgeBeingEdited._disableControlNodes(); this.edgeBeingEdited = undefined; this.selectedControlNode = null; this.controlNodesActive = false; + this._redraw(); } // restore overloaded functions