More fixes on connection predict.

This commit is contained in:
Paulo Gustavo Veiga
2012-08-18 23:37:32 -03:00
parent 04fda82ba0
commit eb709699b7
2 changed files with 9 additions and 9 deletions

View File

@@ -97,7 +97,7 @@ mindplot.layout.SymmetricSorter = new Class({
var position = {
x: parentChild.getPosition().x,
y: parentChild.getPosition().y + parentChild.getSize().height + mindplot.layout.SymmetricSorter.INTERNODE_VERTICAL_PADDING * 2
}
};
return [order, position];
}
@@ -111,7 +111,7 @@ mindplot.layout.SymmetricSorter = new Class({
var position = {
x: parentChild.getPosition().x,
y: parentChild.getPosition().y + (nodeAfter.getPosition().y - parentChild.getPosition().y) / 2
}
};
return [order, position];
}