Browse Source

avoided onHold event during addEdge

v3_develop
AlexDM0 9 years ago
parent
commit
b3e7d60bfb
4 changed files with 7778 additions and 7774 deletions
  1. +7760
    -7758
      dist/vis.js
  2. +1
    -1
      dist/vis.map
  3. +14
    -14
      dist/vis.min.js
  4. +3
    -1
      lib/network/mixins/ManipulationMixin.js

+ 7760
- 7758
dist/vis.js
File diff suppressed because it is too large
View File


+ 1
- 1
dist/vis.map
File diff suppressed because it is too large
View File


+ 14
- 14
dist/vis.min.js
File diff suppressed because it is too large
View File


+ 3
- 1
lib/network/mixins/ManipulationMixin.js View File

@ -301,10 +301,12 @@ exports._createAddEdgeToolbar = function() {
this.cachedFunctions["_manipulationReleaseOverload"] = this._manipulationReleaseOverload;
this.cachedFunctions["_handleDragStart"] = this._handleDragStart;
this.cachedFunctions["_handleDragEnd"] = this._handleDragEnd;
this.cachedFunctions["_handleOnHold"] = this._handleOnHold;
this._handleTouch = this._handleConnect;
this._manipulationReleaseOverload = function () {};
this._handleOnHold = function () {};
this._handleDragStart = function () {};
this._handleDragEnd = this._finishConnect;
this._handleDragEnd = this._finishConnect;
// redraw to show the unselect
this._redraw();

Loading…
Cancel
Save