- Fix pivot issues.

This commit is contained in:
Paulo Veiga
2012-01-17 00:51:13 -03:00
parent e5beb4f034
commit 039b5d8c8a
3 changed files with 13 additions and 6 deletions

View File

@@ -59,7 +59,7 @@ mindplot.layout.LayoutManager = new Class({
var node = this._treeSet.find(id);
node.setFree(true);
node.setFreeDisplacement({x:position.x - node.getPosition().x, y:position.y-node.getPosition().y});
node.setFreeDisplacement({x:position.x - node.getPosition().x, y:position.y - node.getPosition().y});
},
connectNode: function(parentId, childId, order) {