mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-10 15:40:57 -07:00
Fix bug
This commit is contained in:
parent
0ce5f462c5
commit
405c64bc10
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@
|
|||
const position = this.refs.main.getBoundingClientRect();
|
||||
|
||||
const width = parseInt(getComputedStyle(this.refs.main, '').width, 10);
|
||||
const left = parseInt(getComputedStyle(this.refs.main, '').left, 10);
|
||||
const height = parseInt(getComputedStyle(this.refs.main, '').height, 10);
|
||||
const x = window.screenX + position.left;
|
||||
const y = window.screenY + position.top;
|
||||
|
||||
|
|
Loading…
Reference in a new issue