mce 0.17.2 → 0.17.3

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -17244,8 +17244,8 @@ const _zoom = definePlugin((editor) => {
17244
17244
  return {
17245
17245
  name: "mce:zoom",
17246
17246
  commands: [
17247
- { command: "zoomIn", handle: () => camera.value.addZoom(0.25) },
17248
- { command: "zoomOut", handle: () => camera.value.addZoom(-0.25) },
17247
+ { command: "zoomIn", handle: () => camera.value.zoomIn() },
17248
+ { command: "zoomOut", handle: () => camera.value.zoomOut() },
17249
17249
  { command: "zoomTo", handle: zoomTo },
17250
17250
  { command: "zoomTo100", handle: () => zoomTo(1) },
17251
17251
  { command: "zoomToFit", handle: () => zoomTo("root", { strategy: config.value.strategy }) },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mce",
3
3
  "type": "module",
4
- "version": "0.17.2",
4
+ "version": "0.17.3",
5
5
  "description": "A headless infinite canvas editor framework built on WebGL rendering, supports exporting to image, video, and PPT. Only the ESM.",
6
6
  "author": "wxm",
7
7
  "license": "MIT",
@@ -55,13 +55,13 @@
55
55
  "dist"
56
56
  ],
57
57
  "dependencies": {
58
- "@floating-ui/vue": "^1.1.10",
58
+ "@floating-ui/vue": "^1.1.11",
59
59
  "@vueuse/components": "^14.2.1",
60
60
  "@vueuse/core": "^14.2.1",
61
61
  "diff": "^8.0.3",
62
62
  "file-saver": "^2.0.5",
63
63
  "lodash-es": "^4.17.23",
64
- "modern-canvas": "^0.15.6",
64
+ "modern-canvas": "^0.15.8",
65
65
  "modern-font": "^0.4.4",
66
66
  "modern-idoc": "^0.10.21",
67
67
  "modern-text": "^1.10.15",