build-dxf 0.1.37 → 0.1.38

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index3.js +4 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "build-dxf",
3
- "version": "0.1.37",
3
+ "version": "0.1.38",
4
4
  "description": "线段构建双线墙壁的dxf版本",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
package/src/index3.js CHANGED
@@ -10647,6 +10647,7 @@ class CommandFlowComponent extends Component {
10647
10647
  point.copy(pos);
10648
10648
  onChange && onChange(point, opt2);
10649
10649
  debouncing.cancle();
10650
+ e?.stopPropagation();
10650
10651
  };
10651
10652
  const mouseup = (e) => {
10652
10653
  object3D.element.style.pointerEvents = "all";
@@ -12825,7 +12826,7 @@ class DrawLine extends CommandFlowComponent {
12825
12826
  this.container.add(auxiliaryLine);
12826
12827
  this.container.add(lineObj3D);
12827
12828
  this.container.add(lineDashed);
12828
- this.addEventRecord("clear", () => {
12829
+ this.addCommandEndHandle(() => {
12829
12830
  pointSelector.end();
12830
12831
  auxiliaryLine.removeFromParent();
12831
12832
  lineDashed.removeFromParent();
@@ -12908,7 +12909,7 @@ class DrawLine extends CommandFlowComponent {
12908
12909
  updateData();
12909
12910
  }
12910
12911
  });
12911
- this.addEventRecord("clear", destroy1, destroy2);
12912
+ this.addCommandEndHandle(destroy1, destroy2);
12912
12913
  }
12913
12914
  }
12914
12915
  }
@@ -15908,7 +15909,7 @@ class Editor extends Component {
15908
15909
  this.plane.visible = false;
15909
15910
  const cancelEvent = this.addEventListener("update", () => {
15910
15911
  this.domContainer.dialogLayer.appendChild(this.domElement);
15911
- this.domContainer.dialogLayer.appendChild(this.imgEl);
15912
+ isMobileRef.value || this.domContainer.dialogLayer.appendChild(this.imgEl);
15912
15913
  cancelEvent();
15913
15914
  });
15914
15915
  setTimeout(() => {