Browse Source

fixed bug where opening a cluster without smoothcurves went wrong.

v3_develop
Alex de Mulder 9 years ago
parent
commit
307a4ce29e
4 changed files with 26995 additions and 26995 deletions
  1. +26992
    -26992
      dist/vis.js
  2. +1
    -1
      dist/vis.min.css
  3. +1
    -1
      lib/network/Edge.js
  4. +1
    -1
      lib/network/Network.js

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


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


+ 1
- 1
lib/network/Edge.js View File

@ -1164,7 +1164,7 @@ Edge.prototype.positionBezierNode = function() {
this.via.x = 0.5 * (this.from.x + this.to.x);
this.via.y = 0.5 * (this.from.y + this.to.y);
}
else {
else if (this.via !== null) {
this.via.x = 0;
this.via.y = 0;
}

+ 1
- 1
lib/network/Network.js View File

@ -45,7 +45,7 @@ function Network (container, data, options) {
this.renderRefreshRate = 60; // hz (fps)
this.renderTimestep = 1000 / this.renderRefreshRate; // ms -- saves calculation later on
this.renderTime = 0; // measured time it takes to render a frame
this.physicsTime = 0; // measured time it takes to render a frame
this.physicsTime = 0; // measured time it takes to render a frame
this.runDoubleSpeed = false;
this.physicsDiscreteStepsize = 0.50; // discrete stepsize of the simulation

Loading…
Cancel
Save