@meta2d/core 1.1.9 → 1.1.10

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.1.9",
3
+ "version": "1.1.10",
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",
@@ -1338,13 +1338,13 @@ export class Canvas {
1338
1338
  return [];
1339
1339
  }
1340
1340
  const list = [];
1341
- for (const pen of pens) {
1342
- if (!pen.id) {
1343
- pen.id = s8();
1344
- }
1345
- !pen.calculative && (pen.calculative = { canvas: this });
1346
- this.store.pens[pen.id] = pen;
1347
- }
1341
+ // for (const pen of pens) {
1342
+ // if (!pen.id) {
1343
+ // pen.id = s8();
1344
+ // }
1345
+ // !pen.calculative && (pen.calculative = { canvas: this });
1346
+ // this.store.pens[pen.id] = pen;
1347
+ // }
1348
1348
  for (const pen of pens) {
1349
1349
  if (this.beforeAddPen && this.beforeAddPen(pen) != true) {
1350
1350
  continue;