react_hsbc_teller 1.4.1 → 1.4.4

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.4.1",
3
+ "version": "1.4.4",
4
4
  "description": "React",
5
5
  "private": false,
6
6
  "main": "lib/hsbc.js",
@@ -432,9 +432,9 @@ class Video extends Component {
432
432
  {
433
433
  tag: 'VIDEO_SOURCE_SCREEN',
434
434
  xPosition: 1290,
435
- yPosition: 630,
435
+ yPosition: 640,
436
436
  width: 630,
437
- height: 360
437
+ height: 350
438
438
  },
439
439
  {
440
440
  tag: 'tag1',
@@ -4047,9 +4047,9 @@ class Video extends Component {
4047
4047
  let x = 0
4048
4048
  let y = 0
4049
4049
  // if(os.isTablet){
4050
- width = (right - left)* window.screen.width / document.body.clientWidth
4050
+ width = ((right - left)* window.screen.width / document.body.clientWidth) - 5
4051
4051
  height = ((bottom - top)* window.screen.width / document.body.clientWidth) - 50
4052
- x = left * window.screen.width / document.body.clientWidth + 2
4052
+ x = left * window.screen.width / document.body.clientWidth + 5
4053
4053
  y = top* window.screen.width / document.body.clientWidth
4054
4054
  // }
4055
4055
  // if(os.isPc) {
@@ -4060,8 +4060,8 @@ class Video extends Component {
4060
4060
  // }
4061
4061
  canvas.width = 960;
4062
4062
  canvas.height = 540;
4063
- cobj.fillStyle = 'rgb(255 255 255)'
4064
- cobj.fillRect(0,0,1280,720)
4063
+ // cobj.fillStyle = 'rgb(255 255 255)'
4064
+ // cobj.fillRect(0,0,1280,720)
4065
4065
  // const height1 = document.getElementById("whiteboardDIV").getBoundingClientRect().height* window.screen.height / (document.body.clientHeight + 280)
4066
4066
 
4067
4067
  videoMedia.addEventListener('play', (event) =>{
@@ -83,7 +83,7 @@
83
83
  background: #f0f0f0;
84
84
  }
85
85
  .healthVideo{
86
- height: ~"calc(100vh - 15.8125rem)";
86
+ height: ~"calc(100vh - 12.9125rem)";
87
87
  width: 100%;
88
88
  display: inline-flex;
89
89
  }