fix: connection highlight not disposed when block deleted (#7454)

This commit is contained in:
Beka Westberg
2023-09-06 10:11:36 -07:00
committed by GitHub
parent 9390796e83
commit 344861698e

View File

@@ -93,6 +93,10 @@ export class RenderedConnection extends Connection {
if (this.trackedState === RenderedConnection.TrackedState.TRACKED) {
this.db.removeConnection(this, this.y);
}
if (this.highlightPath) {
dom.removeNode(this.highlightPath);
this.highlightPath = null;
}
}
/**