architwin 1.7.5 → 1.7.7

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.
@@ -633,9 +633,9 @@ class PlaneVideo {
633
633
  renderPlayButtonModel() {
634
634
  log.info('renderPlayButtonModel()');
635
635
  const THREE = this.context.three;
636
- const payButtonGeometry = new THREE.PlaneGeometry(0.1, 0.1);
636
+ const payButtonGeometry = new THREE.PlaneGeometry(0.1, 0.15);
637
637
  //payButtonGeometry.translate(0,0,0.01)
638
- payButtonGeometry.translate(-0.3, -0.43, 0.01);
638
+ payButtonGeometry.translate(-0.3, -0.40, 0.01);
639
639
  this.playButtonModel = new THREE.Mesh(payButtonGeometry, new THREE.MeshBasicMaterial({
640
640
  map: this.playBtnTexture,
641
641
  transparent: true,
@@ -649,9 +649,9 @@ class PlaneVideo {
649
649
  renderPauseButtonModel() {
650
650
  log.info('renderPauseButtonModel()');
651
651
  const THREE = this.context.three;
652
- const pauseButtonGeometry = new THREE.PlaneGeometry(0.1, 0.1);
652
+ const pauseButtonGeometry = new THREE.PlaneGeometry(0.1, 0.15);
653
653
  //pauseButtonGeometry.translate(0,0,0.01)
654
- pauseButtonGeometry.translate(-0.3, -0.43, 0.01);
654
+ pauseButtonGeometry.translate(-0.3, -0.40, 0.01);
655
655
  this.pauseButtonModel = new THREE.Mesh(pauseButtonGeometry, new THREE.MeshBasicMaterial({
656
656
  map: this.pauseBtnTexture,
657
657
  transparent: true,
@@ -664,10 +664,10 @@ class PlaneVideo {
664
664
  renderMuteModel() {
665
665
  log.info('renderMuteModel()');
666
666
  const THREE = this.context.three;
667
- const muteButtonGeometry = new THREE.PlaneGeometry(0.1, 0.1);
667
+ const muteButtonGeometry = new THREE.PlaneGeometry(0.1, 0.15);
668
668
  const boundingBox = new THREE.Box3().setFromObject(this.mesh);
669
669
  const width = boundingBox.max.x - boundingBox.min.x;
670
- muteButtonGeometry.translate(0.3, -0.43, 0.01);
670
+ muteButtonGeometry.translate(0.3, -0.40, 0.01);
671
671
  this.muteButtonModel = new THREE.Mesh(muteButtonGeometry, new THREE.MeshBasicMaterial({
672
672
  map: this.muteBtnTexture,
673
673
  transparent: true,
@@ -679,10 +679,10 @@ class PlaneVideo {
679
679
  renderUnmuteModel() {
680
680
  log.info('renderUnmuteModel()');
681
681
  const THREE = this.context.three;
682
- const unmuteButtonGeometry = new THREE.PlaneGeometry(0.1, 0.1);
682
+ const unmuteButtonGeometry = new THREE.PlaneGeometry(0.1, 0.15);
683
683
  const boundingBox = new THREE.Box3().setFromObject(this.mesh);
684
684
  const width = boundingBox.max.x - boundingBox.min.x;
685
- unmuteButtonGeometry.translate(0.3, -0.43, 0.01);
685
+ unmuteButtonGeometry.translate(0.3, -0.40, 0.01);
686
686
  this.unmuteButtonModel = new THREE.Mesh(unmuteButtonGeometry, new THREE.MeshBasicMaterial({
687
687
  map: this.unmuteBtnTexture,
688
688
  transparent: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "architwin",
3
- "version": "1.7.5",
3
+ "version": "1.7.7",
4
4
  "description": "ArchiTwin Library for Matterport",
5
5
  "main": "./lib/architwin.js",
6
6
  "types": "./lib/architwin.d.ts",
package/static/map.css CHANGED
@@ -66,6 +66,7 @@ z-index: 99;
66
66
  width: var(--map-width);
67
67
  background: rgba(0, 0, 0, 0.5);
68
68
  transition: width 0.5s;
69
+ position: relative !important;
69
70
  }
70
71
 
71
72
  #at-map:hover {
Binary file
Binary file