diff --git a/packages/x6/src/view/tool.ts b/packages/x6/src/view/tool.ts index 810686cf3d8..2e6b65ab174 100644 --- a/packages/x6/src/view/tool.ts +++ b/packages/x6/src/view/tool.ts @@ -418,7 +418,7 @@ export namespace ToolsView { return this } - protected stamp(elem: Element = this.container) { + protected stamp(elem: Element) { if (elem) { elem.setAttribute('data-cell-id', this.cellView.cell.id) }