diff --git a/core/rendered_connection.ts b/core/rendered_connection.ts index f66b64005..8953ec977 100644 --- a/core/rendered_connection.ts +++ b/core/rendered_connection.ts @@ -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); } /**