1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-10-31 07:11:47 +09:00
This commit is contained in:
syuilo 2017-11-14 01:02:58 +09:00
parent 008668e1a0
commit 774342d868

View File

@ -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;