react_hsbc_teller 1.3.2 → 1.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react_hsbc_teller",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "React",
5
5
  "private": false,
6
6
  "main": "lib/hsbc.js",
@@ -4017,9 +4017,9 @@ class Video extends Component {
4017
4017
  const top = document.getElementById("whiteboardDIV").getBoundingClientRect().top
4018
4018
  const bottom = document.getElementById("whiteboardDIV").getBoundingClientRect().bottom
4019
4019
  const width = (right - left)* window.screen.width / document.body.clientWidth
4020
- const height = (bottom - top)* window.screen.width / document.body.clientWidth
4020
+ const height = (bottom - top)* window.screen.height / (document.body.clientHeight + 100)
4021
4021
  const x = left * window.screen.width / document.body.clientWidth
4022
- const y = top
4022
+ const y = top* window.screen.height / (document.body.clientHeight - 50)
4023
4023
  canvas.width = width;
4024
4024
  canvas.height = height;
4025
4025
  console.log('addEventListener',x,y,width,height)