@inweb/viewer-visualize 26.9.8 → 26.9.9
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/dist/viewer-visualize.js
CHANGED
|
@@ -16511,6 +16511,9 @@
|
|
|
16511
16511
|
draggable: true,
|
|
16512
16512
|
});
|
|
16513
16513
|
this._ref.setAttr("wcsStart", this._worldTransformer.screenToWorld({ x: params.position.x, y: params.position.y }));
|
|
16514
|
+
if (params.position2) {
|
|
16515
|
+
this._ref.setAttr("wcsEnd", this._worldTransformer.screenToWorld({ x: params.position2.x, y: params.position2.y }));
|
|
16516
|
+
}
|
|
16514
16517
|
this._ref.on("transform", (e) => {
|
|
16515
16518
|
const attrs = e.target.attrs;
|
|
16516
16519
|
if (attrs.rotation !== this._ref.rotation())
|