@sequent-org/moodboard 1.2.113 → 1.2.114
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
CHANGED
|
@@ -118,6 +118,11 @@ export class FrameService {
|
|
|
118
118
|
const halfH = childPixi ? (childPixi.height || 0) / 2 : 0;
|
|
119
119
|
stObj.position.x = newCenterX - halfW;
|
|
120
120
|
stObj.position.y = newCenterY - halfH;
|
|
121
|
+
this.eventBus.emit(Events.Object.TransformUpdated, {
|
|
122
|
+
objectId: childId,
|
|
123
|
+
type: 'position',
|
|
124
|
+
position: { x: stObj.position.x, y: stObj.position.y }
|
|
125
|
+
});
|
|
121
126
|
}
|
|
122
127
|
}
|
|
123
128
|
// Во время перетаскивания тоже гарантируем порядок
|