|
@@ -17,6 +17,7 @@ import {
|
|
|
TextStroke,
|
|
|
} from "./TextToolComp";
|
|
|
import { history } from "@/modules/editor/objects/DesignTemp/factory";
|
|
|
+import { designSizeToPx } from "@/modules/editor/module/utils";
|
|
|
|
|
|
export const TextToolForm = defineComponent({
|
|
|
props: {
|
|
@@ -60,7 +61,8 @@ export const TextToolForm = defineComponent({
|
|
|
|
|
|
console.log("xxxxxxxxxxxxxxxxx");
|
|
|
|
|
|
- store.currComp.layout.setSize(size);
|
|
|
+ controls.selectCtrl.gizmo.selected[0].setSize(designSizeToPx(size[0]), designSizeToPx(h))
|
|
|
+
|
|
|
helper.extendStreamCard(controls.pageCtrl.currStreamCardId);
|
|
|
});
|
|
|
}
|