@inweb/markup 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/markup.js
CHANGED
|
@@ -12822,6 +12822,9 @@
|
|
|
12822
12822
|
draggable: true,
|
|
12823
12823
|
});
|
|
12824
12824
|
this._ref.setAttr("wcsStart", this._worldTransformer.screenToWorld({ x: params.position.x, y: params.position.y }));
|
|
12825
|
+
if (params.position2) {
|
|
12826
|
+
this._ref.setAttr("wcsEnd", this._worldTransformer.screenToWorld({ x: params.position2.x, y: params.position2.y }));
|
|
12827
|
+
}
|
|
12825
12828
|
this._ref.on("transform", (e) => {
|
|
12826
12829
|
const attrs = e.target.attrs;
|
|
12827
12830
|
if (attrs.rotation !== this._ref.rotation())
|