@tmagic/stage 1.2.0-beta.1 → 1.2.0-beta.2
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/tmagic-stage.mjs
CHANGED
|
@@ -493,10 +493,14 @@ class StageDragResize extends EventEmitter {
|
|
|
493
493
|
this.dragStatus = StageDragStatus.END;
|
|
494
494
|
const frame = this.moveableHelper?.getFrame(e.target);
|
|
495
495
|
this.emit("update", {
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
496
|
+
data: [
|
|
497
|
+
{
|
|
498
|
+
el: this.target,
|
|
499
|
+
style: {
|
|
500
|
+
transform: frame?.get("transform")
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
]
|
|
500
504
|
});
|
|
501
505
|
});
|
|
502
506
|
}
|
|
@@ -517,10 +521,14 @@ class StageDragResize extends EventEmitter {
|
|
|
517
521
|
this.dragStatus = StageDragStatus.END;
|
|
518
522
|
const frame = this.moveableHelper?.getFrame(e.target);
|
|
519
523
|
this.emit("update", {
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
+
data: [
|
|
525
|
+
{
|
|
526
|
+
el: this.target,
|
|
527
|
+
style: {
|
|
528
|
+
transform: frame?.get("transform")
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
]
|
|
524
532
|
});
|
|
525
533
|
});
|
|
526
534
|
}
|