@meta2d/core 1.0.78 → 1.0.80

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meta2d/core",
3
- "version": "1.0.78",
3
+ "version": "1.0.80",
4
4
  "description": "@meta2d/core: Powerful, Beautiful, Simple, Open - Web-Based 2D At Its Best .",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -1250,6 +1250,9 @@ export class Canvas {
1250
1250
  pen.anchors[pen.anchors.length - 1].id,
1251
1251
  ];
1252
1252
  }
1253
+ else {
1254
+ beforeIds = [pen.id];
1255
+ }
1253
1256
  }
1254
1257
  else {
1255
1258
  if (pens.length > 1) {
@@ -3256,6 +3259,7 @@ export class Canvas {
3256
3259
  else if (!pen.height) {
3257
3260
  pen.width = this.width;
3258
3261
  }
3262
+ this.updatePenRect(pen);
3259
3263
  }
3260
3264
  calcInView(pen);
3261
3265
  }