fixing icon positions on elipse shape, and curve lines with line shapes

This commit is contained in:
Pablo Luna
2011-02-09 16:06:28 +01:00
parent 9a41f3b288
commit df0a9a4496
2 changed files with 12 additions and 4 deletions

View File

@@ -261,9 +261,9 @@ mindplot.MainTopic.prototype.workoutOutgoingConnectionPoint = function(targetPos
// In this case, connetion line is not used as shape figure.
result = mindplot.util.Shape.calculateRectConnectionPoint(pos, size, isAtRight, true);
result.y = pos.y + (size.height / 2);
if(result.y>0){
/*if(result.y>0){
result.y+=1;
}
}*/
// Correction factor ...
if (!isAtRight)