@zhangqingcq/vgce 0.1.21 → 0.1.22
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/style.css +1 -1
- package/dist/vgce.js +259 -255
- package/dist/vgce.umd.cjs +8 -8
- package/package.json +1 -1
- package/src/components/svg-editor/center-panel.vue +8 -1
package/package.json
CHANGED
@@ -651,9 +651,16 @@
|
|
651
651
|
globalStore.setDoneJson(globalStore.done_json)
|
652
652
|
} else if (globalStore.intention == EGlobalStoreIntention.GroupMove) {
|
653
653
|
if (groupMoved) {
|
654
|
-
|
654
|
+
//群组移动了,从新计算移动过的组件各种坐标信息
|
655
|
+
for (let e of globalStore.done_json) {
|
656
|
+
if (e.selected) {
|
657
|
+
setSvgActualInfo(e)
|
658
|
+
}
|
659
|
+
}
|
655
660
|
groupMoved = false
|
656
661
|
globalStore.intention = EGlobalStoreIntention.None
|
662
|
+
//记录历史记录
|
663
|
+
globalStore.setDoneJson(globalStore.done_json)
|
657
664
|
}
|
658
665
|
} else if (globalStore.handle_svg_info?.info && globalStore.intention == EGlobalStoreIntention.Zoom) {
|
659
666
|
//缩放完成后重置中点 新版本中点就是组件坐标
|