@versa_ai/vmml-editor 1.0.49 → 1.0.51
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/.turbo/turbo-build.log +9 -9
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/EditorCanvas.tsx +1 -0
- package/src/index.tsx +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @versa_ai/vmml-editor@1.0.
|
|
2
|
+
> @versa_ai/vmml-editor@1.0.51 build D:\code\work\vmml-player\packages\editor
|
|
3
3
|
> tsup
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.tsx
|
|
@@ -17,6 +17,7 @@ Recommendation: math.div($px, 750) or calc($px / 750)
|
|
|
17
17
|
More info and automated migrator: https://sass-lang.com/d/slash-div[0m [1m[35m[plugin sass-plugin][0m
|
|
18
18
|
|
|
19
19
|
src/assets/css/colorSelector.scss:4:9:
|
|
20
|
+
[34mDTS[39m Build start
|
|
20
21
|
[37m 4 │ $px / 750[32m[37m
|
|
21
22
|
╵ [32m^[0m
|
|
22
23
|
|
|
@@ -123,13 +124,12 @@ More info and automated migrator: https://sass-lang.com/d/slash-div[0m [1m[35
|
|
|
123
124
|
|
|
124
125
|
|
|
125
126
|
|
|
126
|
-
[
|
|
127
|
-
[32mCJS[39m [1mdist\index.js
|
|
128
|
-
[32mCJS[39m
|
|
129
|
-
[
|
|
130
|
-
[32mESM[39m [1mdist\index.mjs
|
|
131
|
-
[32mESM[39m
|
|
132
|
-
[
|
|
133
|
-
[32mDTS[39m ⚡️ Build success in 1560ms
|
|
127
|
+
[32mCJS[39m [1mdist\index.js [22m[32m121.84 KB[39m
|
|
128
|
+
[32mCJS[39m [1mdist\index.js.map [22m[32m233.86 KB[39m
|
|
129
|
+
[32mCJS[39m ⚡️ Build success in 997ms
|
|
130
|
+
[32mESM[39m [1mdist\index.mjs [22m[32m119.97 KB[39m
|
|
131
|
+
[32mESM[39m [1mdist\index.mjs.map [22m[32m233.56 KB[39m
|
|
132
|
+
[32mESM[39m ⚡️ Build success in 998ms
|
|
133
|
+
[32mDTS[39m ⚡️ Build success in 2081ms
|
|
134
134
|
[32mDTS[39m [1mdist\index.d.ts [22m[32m158.00 B[39m
|
|
135
135
|
[32mDTS[39m [1mdist\index.d.mts [22m[32m158.00 B[39m
|
package/dist/index.js
CHANGED
|
@@ -1055,6 +1055,7 @@ var EditorCanvas = react.forwardRef(
|
|
|
1055
1055
|
const canvas = new fabric.fabric.Canvas("canvas", {
|
|
1056
1056
|
width: canvasSize.width,
|
|
1057
1057
|
height: canvasSize.height,
|
|
1058
|
+
uniScaleKey: "",
|
|
1058
1059
|
selection: false
|
|
1059
1060
|
// 画布框选
|
|
1060
1061
|
});
|
|
@@ -2603,13 +2604,13 @@ var EditorFn = ({
|
|
|
2603
2604
|
}
|
|
2604
2605
|
};
|
|
2605
2606
|
const onControlsClick = () => {
|
|
2607
|
+
setPreviewState(true);
|
|
2606
2608
|
if (previewState) {
|
|
2607
2609
|
const { current } = vmmlPlayerRef;
|
|
2608
2610
|
current.unmute();
|
|
2609
2611
|
current.play();
|
|
2610
2612
|
} else {
|
|
2611
2613
|
setMenuState("");
|
|
2612
|
-
setPreviewState(true);
|
|
2613
2614
|
}
|
|
2614
2615
|
};
|
|
2615
2616
|
const onClickMenu = (type) => {
|