Multiline working :)

This commit is contained in:
Paulo Veiga
2011-09-04 03:28:09 -03:00
parent b1b0ee0de8
commit cc9bf1b908
6 changed files with 87 additions and 128 deletions

View File

@@ -153,8 +153,7 @@ mindplot.Topic = new Class({
return this._innerShape;
},
buildShape : function(attributes, type) {
buildShape : function(attributes, type) {
var result;
if (!$defined(type)) {
type = this.getShapeType();
@@ -164,7 +163,7 @@ mindplot.Topic = new Class({
result = new web2d.Rect(0, attributes);
}
else if (type == mindplot.model.NodeModel.SHAPE_TYPE_ELIPSE) {
result = new web2d.Elipse(attributes);
result = new web2d.Rect(0.9, attributes);
}
else if (type == mindplot.model.NodeModel.SHAPE_TYPE_ROUNDED_RECT) {
result = new web2d.Rect(0.3, attributes);