updating icons position when changeing font size

This commit is contained in:
Pablo Luna
2011-02-09 16:50:33 +01:00
parent df0a9a4496
commit 98c1c9428d
2 changed files with 22 additions and 11 deletions

View File

@@ -1313,5 +1313,8 @@ mindplot.Topic.prototype.updateNode = function()
// Positionate node ...
textShape.setPosition(iconOffset+this._offset, pos);
textShape.setTextSize(sizeWidth, sizeHeight);
var iconGroup = this.getIconGroup();
if(core.Utils.isDefined(iconGroup))
iconGroup.updateIconGroupPosition();
}
};