build-dxf 0.0.19-5 → 0.0.19-6

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": "build-dxf",
3
- "version": "0.0.19-5",
3
+ "version": "0.0.19-6",
4
4
  "description": "线段构建双线墙壁的dxf版本",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
package/src/index2.js CHANGED
@@ -478,7 +478,7 @@ class DomContainer extends Component {
478
478
  position: "absolute",
479
479
  left: 0,
480
480
  top: 0,
481
- zIndex: 9,
481
+ // zIndex: 9,
482
482
  width: "100%",
483
483
  height: "100%"
484
484
  });
@@ -486,7 +486,7 @@ class DomContainer extends Component {
486
486
  position: "absolute",
487
487
  left: 0,
488
488
  top: 0,
489
- zIndex: 10,
489
+ // zIndex: 10,
490
490
  width: "100%",
491
491
  height: "100%"
492
492
  });
package/src/index3.js CHANGED
@@ -1390,6 +1390,7 @@ let Editor$1 = class Editor extends Component {
1390
1390
  const x = domEventRegister.pointer.x / size.x * 2 - 1;
1391
1391
  const y = -(domEventRegister.pointer.y / size.y * 2 - 1);
1392
1392
  coords.set(x, y);
1393
+ console.log("pointer-", "x:", x, "y:", y);
1393
1394
  raycaster.setFromCamera(coords, renderer.camera);
1394
1395
  const intersections = raycaster.intersectObject(this.plane);
1395
1396
  if (intersections.length) {