mirror of
https://github.com/google/blockly.git
synced 2026-01-10 18:37:09 +01:00
fix: connection highlight not disposed when block deleted (#7454)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user