@versa_ai/vmml-editor 1.0.37 → 1.0.38

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @versa_ai/vmml-editor@1.0.37 build D:\code\work\vmml-player\packages\editor
2
+ > @versa_ai/vmml-editor@1.0.38 build D:\code\work\vmml-player\packages\editor
3
3
  > tsup
4
4
 
5
5
  CLI Building entry: src/index.tsx
@@ -124,12 +124,12 @@ More info and automated migrator: https://sass-lang.com/d/slash-div [35
124
124
 
125
125
 
126
126
  DTS Build start
127
- CJS dist\index.js 116.91 KB
128
- CJS dist\index.js.map 223.18 KB
129
- CJS ⚡️ Build success in 901ms
130
- ESM dist\index.mjs 115.30 KB
131
- ESM dist\index.mjs.map 222.89 KB
132
- ESM ⚡️ Build success in 901ms
133
- DTS ⚡️ Build success in 2169ms
127
+ ESM dist\index.mjs 115.26 KB
128
+ ESM dist\index.mjs.map 222.82 KB
129
+ ESM ⚡️ Build success in 885ms
130
+ CJS dist\index.js 116.86 KB
131
+ CJS dist\index.js.map 223.11 KB
132
+ CJS ⚡️ Build success in 886ms
133
+ DTS ⚡️ Build success in 1577ms
134
134
  DTS dist\index.d.ts 158.00 B
135
135
  DTS dist\index.d.mts 158.00 B
package/dist/index.js CHANGED
@@ -1055,7 +1055,6 @@ var EditorCanvas = react.forwardRef(
1055
1055
  if (fc) {
1056
1056
  const ns = Math.floor((f ?? frame) / 30 * 1e6);
1057
1057
  const objects = fc.getObjects();
1058
- console.log(objects, "checkObjectInPoint>>>objects>>>>>>>>>>>", ns, f, frame);
1059
1058
  objects.forEach((item) => {
1060
1059
  var _a, _b, _c;
1061
1060
  if (((_a = item == null ? void 0 : item.clipData) == null ? void 0 : _a.type) === "\u6587\u5B57") {
@@ -2789,8 +2788,9 @@ var EditorFn = ({
2789
2788
  if (!playing) needPlay.current = false;
2790
2789
  const currentFrame = checkFrame ?? (((_c = player == null ? void 0 : player.getCurrentFrame) == null ? void 0 : _c.call(player)) ?? frame ?? pauseFrame);
2791
2790
  setFrame(currentFrame);
2792
- const convertedVmml = vmmlUtils.convertVmmlTextScaleByForbidden(v);
2793
- const isSame = JSON.stringify(convertedVmml) === JSON.stringify(vmmlState);
2791
+ const convertedVmml = v;
2792
+ const isSame = JSON.stringify(convertedVmml) == JSON.stringify(vmmlState);
2793
+ console.log(isSame, "VMML\u662F\u5426\u76F8\u540C", convertedVmml, vmmlState);
2794
2794
  if (!isSame) {
2795
2795
  (_e = (_d = canvasCurrent == null ? void 0 : canvasCurrent.getCanvasCtx()) == null ? void 0 : _d.clear) == null ? void 0 : _e.call(_d);
2796
2796
  setVmmlState(convertedVmml);