build-dxf 0.1.37 → 0.1.39
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 +1 -1
- package/src/index3.js +5 -3
package/package.json
CHANGED
package/src/index3.js
CHANGED
|
@@ -10647,6 +10647,8 @@ class CommandFlowComponent extends Component {
|
|
|
10647
10647
|
point.copy(pos);
|
|
10648
10648
|
onChange && onChange(point, opt2);
|
|
10649
10649
|
debouncing.cancle();
|
|
10650
|
+
e?.stopPropagation();
|
|
10651
|
+
e?.preventDefault();
|
|
10650
10652
|
};
|
|
10651
10653
|
const mouseup = (e) => {
|
|
10652
10654
|
object3D.element.style.pointerEvents = "all";
|
|
@@ -12825,7 +12827,7 @@ class DrawLine extends CommandFlowComponent {
|
|
|
12825
12827
|
this.container.add(auxiliaryLine);
|
|
12826
12828
|
this.container.add(lineObj3D);
|
|
12827
12829
|
this.container.add(lineDashed);
|
|
12828
|
-
this.
|
|
12830
|
+
this.addCommandEndHandle(() => {
|
|
12829
12831
|
pointSelector.end();
|
|
12830
12832
|
auxiliaryLine.removeFromParent();
|
|
12831
12833
|
lineDashed.removeFromParent();
|
|
@@ -12908,7 +12910,7 @@ class DrawLine extends CommandFlowComponent {
|
|
|
12908
12910
|
updateData();
|
|
12909
12911
|
}
|
|
12910
12912
|
});
|
|
12911
|
-
this.
|
|
12913
|
+
this.addCommandEndHandle(destroy1, destroy2);
|
|
12912
12914
|
}
|
|
12913
12915
|
}
|
|
12914
12916
|
}
|
|
@@ -15908,7 +15910,7 @@ class Editor extends Component {
|
|
|
15908
15910
|
this.plane.visible = false;
|
|
15909
15911
|
const cancelEvent = this.addEventListener("update", () => {
|
|
15910
15912
|
this.domContainer.dialogLayer.appendChild(this.domElement);
|
|
15911
|
-
this.domContainer.dialogLayer.appendChild(this.imgEl);
|
|
15913
|
+
isMobileRef.value || this.domContainer.dialogLayer.appendChild(this.imgEl);
|
|
15912
15914
|
cancelEvent();
|
|
15913
15915
|
});
|
|
15914
15916
|
setTimeout(() => {
|