File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 88778877 let scrollTop = window.pageYOffset || document.documentElement.scrollTop || getBody(document).scrollTop;
88788878 let scrollLeft = window.pageXOffset || document.documentElement.scrollLeft || getBody(document).scrollLeft;
88798879
8880- clientX = clientRect.x + ew / 2 - (this.funcKeyCall ? this.con.scrollLeft : 0) + scrollLeft ;
8881- clientY = clientRect.y + eh / 2 - (this.funcKeyCall ? this.con.scrollTop : 0) + scrollTop ;
8880+ clientX = clientRect.x + ew / 2 - (this.funcKeyCall ? this.con.scrollLeft : 0);
8881+ clientY = clientRect.y + eh / 2 - (this.funcKeyCall ? this.con.scrollTop : 0);
88828882
88838883 clientX -= target.clientWidth / 2;
88848884 let actualTop = clingEle.getBoundingClientRect().top;
You can’t perform that action at this time.
0 commit comments