Skip to content

Commit

Permalink
remove: unwanted invoke
Browse files Browse the repository at this point in the history
  • Loading branch information
ktx-abhay committed Oct 23, 2024
1 parent dee3f8e commit 50b715b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/component/tooltip/TooltipHTMLContent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -465,11 +465,14 @@ class TooltipHTMLContent {
}

moveTo(zrX: number, zrY: number) {
if (!this.el) {
return;
}
const styleCoord = this._styleCoord;
makeStyleCoord(styleCoord, this._zr, this._container, zrX, zrY);

if (styleCoord[0] != null && styleCoord[1] != null) {
const style: any = this.el ? (this.el.style || {}) : {};
const style = this.el.style;
const transforms = assembleTransform(styleCoord[0], styleCoord[1]) as string[][];
each(transforms, (transform) => {
style[transform[0] as any] = transform[1];
Expand Down

0 comments on commit 50b715b

Please sign in to comment.