Browse Source

(re)fixed #181

css_transitions
Alex de Mulder 10 years ago
parent
commit
25a7ded72e
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      dist/vis.js
  2. +1
    -1
      dist/vis.min.js
  3. +1
    -1
      src/graph/Graph.js

+ 1
- 1
dist/vis.js View File

@ -18296,7 +18296,7 @@ Graph.prototype.storePosition = function() {
var node = this.nodes[nodeId];
var allowedToMoveX = !this.nodes.xFixed;
var allowedToMoveY = !this.nodes.yFixed;
if (this.nodesData._data[nodeId].x != Math.round(node.x) || this.nodesData.data[nodeId].y != Math.round(node.y)) {
if (this.nodesData._data[nodeId].x != Math.round(node.x) || this.nodesData._data[nodeId].y != Math.round(node.y)) {
dataArray.push({id:nodeId,x:Math.round(node.x),y:Math.round(node.y),allowedToMoveX:allowedToMoveX,allowedToMoveY:allowedToMoveY});
}
}

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


+ 1
- 1
src/graph/Graph.js View File

@ -2245,7 +2245,7 @@ Graph.prototype.storePosition = function() {
var node = this.nodes[nodeId];
var allowedToMoveX = !this.nodes.xFixed;
var allowedToMoveY = !this.nodes.yFixed;
if (this.nodesData._data[nodeId].x != Math.round(node.x) || this.nodesData.data[nodeId].y != Math.round(node.y)) {
if (this.nodesData._data[nodeId].x != Math.round(node.x) || this.nodesData._data[nodeId].y != Math.round(node.y)) {
dataArray.push({id:nodeId,x:Math.round(node.x),y:Math.round(node.y),allowedToMoveX:allowedToMoveX,allowedToMoveY:allowedToMoveY});
}
}

Loading…
Cancel
Save