@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
package/src/canvas/canvas.js
CHANGED
|
@@ -1338,13 +1338,13 @@ export class Canvas {
|
|
|
1338
1338
|
return [];
|
|
1339
1339
|
}
|
|
1340
1340
|
const list = [];
|
|
1341
|
-
for (const pen of pens) {
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
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;
|