Skip to content

Commit

Permalink
fix: Cannot use "this" here: #2824 (#2855)
Browse files Browse the repository at this point in the history
  • Loading branch information
MOMO-0902 authored Nov 8, 2022
1 parent d9d68d1 commit 10347d0
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

1 comment on commit 10347d0

@zhaozhuoboy
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so good

Please sign in to comment.