Skip to content

Commit

Permalink
fix: edge rendering correct label attrs (#4177)
Browse files Browse the repository at this point in the history
  • Loading branch information
cnyballk committed Jan 24, 2024
1 parent d700d00 commit e399da4
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 e399da4

Please sign in to comment.