Minor bug fixing.

This commit is contained in:
Paulo Gustavo Veiga
2012-02-29 18:52:07 -03:00
parent 1fefb929da
commit f704e730c9
4 changed files with 5 additions and 140 deletions

View File

@@ -68,7 +68,6 @@ mindplot.Topic = new Class({
setShapeType : function(type) {
this._setShapeType(type, true);
},
getParent : function() {
@@ -164,8 +163,10 @@ mindplot.Topic = new Class({
if (type == mindplot.model.TopicShape.RECTANGLE) {
result = new web2d.Rect(0, attributes);
}else if(type == mindplot.model.TopicShape.IMAGE){
throw "Must be implemented ...";
}
else if (type == mindplot.model.TopicShape.ELIPSE) {
else if (type == mindplot.model.TopicShape.ELLIPSE) {
result = new web2d.Rect(0.9, attributes);
}
else if (type == mindplot.model.TopicShape.ROUNDED_RECT) {