Central node never can be collapsed.

This commit is contained in:
Paulo Gustavo Veiga
2012-11-28 22:09:29 -03:00
parent ebd6f886d5
commit 12448fc6cb
3 changed files with 5 additions and 4 deletions

View File

@@ -92,7 +92,7 @@ mindplot.persistence.XMLSerializer_Pela = new Class({
}
if (topic.areChildrenShrunken()) {
if (topic.areChildrenShrunken() && topic.getType() != mindplot.model.INodeModel.CENTRAL_TOPIC_TYPE) {
parentTopic.setAttribute('shrink', 'true');
}