Skip to content

Commit

Permalink
fix: edge rendering correct label attrs
Browse files Browse the repository at this point in the history
  • Loading branch information
cnyballk committed Jan 23, 2024
1 parent 84e363e commit 04729e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/x6/src/view/edge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ export class EdgeView<
this.cleanCache()
this.updateConnection(options)

const attrs = this.cell.getAttrs()
const { text, ...attrs } = this.cell.getAttrs()
if (attrs != null) {
this.updateAttrs(this.container, attrs, {
selectors: this.selectors,
Expand Down

0 comments on commit 04729e6

Please sign in to comment.