dytools-capture-engine 1.1.1 → 1.1.2
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/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1351,7 +1351,7 @@ var CaptureEngine = class {
|
|
|
1351
1351
|
Name: this._name ?? "Untitled",
|
|
1352
1352
|
DocumentWidth: docWidth,
|
|
1353
1353
|
DocumentHeight: docHeight,
|
|
1354
|
-
Zones: this.zones.map((e) => e
|
|
1354
|
+
Zones: this.zones.map((e) => e?.toExternal(docWidth, docHeight) ?? null).filter((e) => e !== null)
|
|
1355
1355
|
};
|
|
1356
1356
|
}
|
|
1357
1357
|
// --- in CaptureEngine.ts (or a new file) ---
|
package/dist/index.js
CHANGED
|
@@ -1335,7 +1335,7 @@ var CaptureEngine = class {
|
|
|
1335
1335
|
Name: this._name ?? "Untitled",
|
|
1336
1336
|
DocumentWidth: docWidth,
|
|
1337
1337
|
DocumentHeight: docHeight,
|
|
1338
|
-
Zones: this.zones.map((e) => e
|
|
1338
|
+
Zones: this.zones.map((e) => e?.toExternal(docWidth, docHeight) ?? null).filter((e) => e !== null)
|
|
1339
1339
|
};
|
|
1340
1340
|
}
|
|
1341
1341
|
// --- in CaptureEngine.ts (or a new file) ---
|