mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-24 23:37:57 +01:00
Fix problem on nodes marked as collapted.
This commit is contained in:
parent
49bd6767ff
commit
bf944c3169
@ -106,7 +106,7 @@ class XMLSerializerTango implements XMLMindmapSerializer {
|
||||
}
|
||||
}
|
||||
|
||||
if (topic.areChildrenShrunken() && topic.getType() !== 'CentralTopic') {
|
||||
if ((topic.areChildrenShrunken() && topic.getChildren().length > 0) && topic.getType() !== 'CentralTopic') {
|
||||
parentTopic.setAttribute('shrink', 'true');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user