Commit ce393ef7 authored by Akikonata's avatar Akikonata

fixed connect

parent fac5297d
...@@ -401,7 +401,7 @@ KityMinder.registerModule("LayoutDefault", function () { ...@@ -401,7 +401,7 @@ KityMinder.registerModule("LayoutDefault", function () {
var parentLayout = node.getParent().getLayout(); var parentLayout = node.getParent().getLayout();
var parentStyle = nodeStyles[node.getParent().getType()]; var parentStyle = nodeStyles[node.getParent().getType()];
var Shape = node.getRenderContainer(); var Shape = node.getRenderContainer();
var sX, sY = parentLayout.y; var sX, sY = parentBox.bottom - 5;
var nodeX, nodeY = Shape.getRenderBox().closurePoints[1].y; var nodeX, nodeY = Shape.getRenderBox().closurePoints[1].y;
if (Layout.appendside === "left") { if (Layout.appendside === "left") {
sX = parentBox.closurePoints[1].x - parentStyle.margin[1]; sX = parentBox.closurePoints[1].x - parentStyle.margin[1];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment