Browse Source

Updated /dist/ files

v3_develop
jos 10 years ago
parent
commit
657ba9dbfc
3 changed files with 29 additions and 9 deletions
  1. +27
    -7
      dist/vis.js
  2. +1
    -1
      dist/vis.map
  3. +1
    -1
      dist/vis.min.js

+ 27
- 7
dist/vis.js View File

@ -15244,13 +15244,13 @@ return /******/ (function(modules) { // webpackBootstrap
var pointer = this._getPointer(event.gesture.center);
var me = this,
drag = this.drag,
selection = drag.selection;
var me = this;
var drag = this.drag;
var selection = drag.selection;
if (selection && selection.length && this.constants.dragNodes == true) {
// calculate delta's and new location
var deltaX = pointer.x - drag.pointer.x,
deltaY = pointer.y - drag.pointer.y;
var deltaX = pointer.x - drag.pointer.x;
var deltaY = pointer.y - drag.pointer.y;
// update position of all selected nodes
selection.forEach(function (s) {
@ -15265,6 +15265,7 @@ return /******/ (function(modules) { // webpackBootstrap
}
});
// start _animationStep if not yet running
if (!this.moving) {
this.moving = true;
@ -15381,6 +15382,13 @@ return /******/ (function(modules) { // webpackBootstrap
if (scale > 10) {
scale = 10;
}
var preScaleDragPointer = null;
if (this.drag !== undefined) {
if (this.drag.dragging == true) {
preScaleDragPointer = this.DOMtoCanvas(this.drag.pointer);
}
}
// + this.frame.canvas.clientHeight / 2
var translation = this._getTranslation();
@ -15394,6 +15402,13 @@ return /******/ (function(modules) { // webpackBootstrap
this._setScale(scale);
this._setTranslation(tx, ty);
this.updateClustersDefault();
if (preScaleDragPointer != null) {
var postScaleDragPointer = this.canvasToDOM(preScaleDragPointer);
this.drag.pointer.x = postScaleDragPointer.x;
this.drag.pointer.y = postScaleDragPointer.y;
}
this._redraw();
if (scaleOld < scale) {
@ -16012,7 +16027,7 @@ return /******/ (function(modules) { // webpackBootstrap
this._doInAllSectors("_drawControlNodes",ctx);
}
this._doInSupportSector("_drawNodes",ctx,true);
// this._doInSupportSector("_drawNodes",ctx,true);
// this._drawTree(ctx,"#F00F0F");
// restore original scaling and translation
@ -16322,7 +16337,12 @@ return /******/ (function(modules) { // webpackBootstrap
this.moving = true;
}
else {
this.moving = this._isMoving(vminCorrected) || this.constants.configurePhysics;
this.moving = this._isMoving(vminCorrected);
if (this.moving == false) {
this.emit("stabilized",{iterations:null});
}
this.moving = this.moving || this.configurePhysics;
}
}
};

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


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


Loading…
Cancel
Save