Minor fixes
This commit is contained in:
parent
906ac7f13f
commit
4d00270b78
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -646,6 +646,13 @@ export default class VisualConsole {
|
||||||
// Create lines.
|
// Create lines.
|
||||||
this.buildRelations();
|
this.buildRelations();
|
||||||
|
|
||||||
|
// Re-attach all connected lines if any.
|
||||||
|
this.elements.forEach(item => {
|
||||||
|
if (item instanceof Line) {
|
||||||
|
this.refreshLink(item);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
this.containerRef.addEventListener("click", this.handleContainerClick);
|
this.containerRef.addEventListener("click", this.handleContainerClick);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue