mirror of
https://github.com/google/blockly.git
synced 2026-01-25 01:30:12 +01:00
fix: destroy connection highlight when the connection is disposed (#7830)
This commit is contained in:
@@ -79,6 +79,7 @@ export class RenderedConnection extends Connection {
|
||||
if (this.trackedState === RenderedConnection.TrackedState.TRACKED) {
|
||||
this.db.removeConnection(this, this.y);
|
||||
}
|
||||
this.sourceBlock_.pathObject.removeConnectionHighlight?.(this);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user