Skip to content
Snippets Groups Projects
Commit c17dad29 authored by Lukas Pravda's avatar Lukas Pravda
Browse files

get rid of event errors when scene not ready

parent 4c7b3d06
No related branches found
No related tags found
No related merge requests found
......@@ -110,9 +110,8 @@ class Visualization {
return;
}
});
this.links.attr('opacity', 1);
this.nodes.attr('opacity', 1);
this.links?.attr('opacity', 1);
this.nodes?.attr('opacity', 1);
}
......@@ -145,8 +144,8 @@ class Visualization {
this.fireExternalNullEvent(Config.interactionMouseoutEvent);
}
this.links.attr('opacity', 1);
this.nodes.attr('opacity', 1);
this.links?.attr('opacity', 1);
this.nodes?.attr('opacity', 1);
}
private dragHandler = d3.drag()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment