Skip to content

Commit

Permalink
fix: Cannot use "this" here: antvis#2824
Browse files Browse the repository at this point in the history
  • Loading branch information
MOMO-0902 authored Nov 7, 2022
1 parent 3ef671c commit 6ae6c53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/x6/src/view/tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 6ae6c53

Please sign in to comment.