@8btc/whiteboard 0.0.20-alpha.20 → 0.0.20-alpha.21

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 +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -4267,7 +4267,7 @@ function ys({ api: n }) {
4267
4267
  return V(() => {
4268
4268
  if (!n) return;
4269
4269
  const h = (f) => {
4270
- t(f), a(f.scaleWhenCreate || 1);
4270
+ t(f), o(n.getState().viewport.scale), a(f.scaleWhenCreate || 1);
4271
4271
  }, l = () => {
4272
4272
  t(null);
4273
4273
  }, d = (f) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@8btc/whiteboard",
3
3
  "private": false,
4
- "version": "0.0.20-alpha.20",
4
+ "version": "0.0.20-alpha.21",
5
5
  "type": "module",
6
6
  "main": "./dist/index.umd.js",
7
7
  "module": "./dist/index.js",