Browse Source

redraw on back on manipulation

v3_develop
Alex de Mulder 10 years ago
parent
commit
83a6cf889e
2 changed files with 5 additions and 1 deletions
  1. +3
    -1
      dist/vis.js
  2. +2
    -0
      lib/network/mixins/ManipulationMixin.js

+ 3
- 1
dist/vis.js View File

@ -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

+ 2
- 0
lib/network/mixins/ManipulationMixin.js View File

@ -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

Loading…
Cancel
Save