mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-15 11:37:57 +01:00
Fix problem on nodes marked as collapted.
This commit is contained in:
parent
e9d5fee022
commit
1be0cadede
@ -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