Fix connection issues.

This commit is contained in:
Paulo Veiga
2011-10-10 19:31:10 -03:00
parent cd85390b22
commit 64bebe8d88
2 changed files with 3 additions and 3 deletions

View File

@@ -180,7 +180,7 @@ mindplot.Topic = new Class({
result = new web2d.Line({strokeColor:"#495879",strokeWidth:1, strokeOpacity:1});
result.setSize = function(width, height) {
this.size = {width:width, height:height};
result.setFrom(-1, height);
result.setFrom(0, height);
result.setTo(width + 1, height);
// Lines will have the same color of the default connection lines...
@@ -980,7 +980,7 @@ mindplot.Topic = new Class({
var innerShape = this.getInnerShape();
outerShape.setSize(size.width + 4, size.height + 6);
innerShape.setSize(size.width, size.height);
innerShape.setSize(parseInt(size.width), parseInt(size.height));
},
setSize : function(size, force, updatePosition) {