Start adding SVG icons replacement

This commit is contained in:
Paulo Gustavo Veiga 2021-12-27 12:32:55 -08:00
parent 1ce46337d6
commit db4052dcb6

View File

@ -972,8 +972,7 @@ class Topic extends NodeGraph {
const targetParent = targetTopic.getModel().getParent(); const targetParent = targetTopic.getModel().getParent();
const sourceParent = sourceTopic.getModel().getParent(); const sourceParent = sourceTopic.getModel().getParent();
relationship.setVisibility( relationship.setVisibility(value &&
value &&
(targetParent == null || !targetParent.areChildrenShrunken()) && (targetParent == null || !targetParent.areChildrenShrunken()) &&
(sourceParent == null || !sourceParent.areChildrenShrunken()), (sourceParent == null || !sourceParent.areChildrenShrunken()),
); );