@pixldocs/canvas-renderer 0.5.313 → 0.5.314
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-DaZy0Hz3.cjs → index-CivzkA4l.cjs} +18 -5
- package/dist/index-CivzkA4l.cjs.map +1 -0
- package/dist/{index-D8s0AmMC.js → index-Dr4Grd18.js} +18 -5
- package/dist/index-Dr4Grd18.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{vectorPdfExport-BdNT5NW8.cjs → vectorPdfExport-CkSLQ4vT.cjs} +4 -4
- package/dist/{vectorPdfExport-BdNT5NW8.cjs.map → vectorPdfExport-CkSLQ4vT.cjs.map} +1 -1
- package/dist/{vectorPdfExport-BPFpKueR.js → vectorPdfExport-DBoLqkEn.js} +4 -4
- package/dist/{vectorPdfExport-BPFpKueR.js.map → vectorPdfExport-DBoLqkEn.js.map} +1 -1
- package/package.json +1 -1
- package/dist/index-D8s0AmMC.js.map +0 -1
- package/dist/index-DaZy0Hz3.cjs.map +0 -1
|
@@ -11210,6 +11210,19 @@ function applyWarpAwareSelectionBorders(selection) {
|
|
|
11210
11210
|
selection.setCoords();
|
|
11211
11211
|
selection.dirty = true;
|
|
11212
11212
|
selection.__pixldocsAlignedAngle = first;
|
|
11213
|
+
} else {
|
|
11214
|
+
const anyRotated = worldAngles.some((a) => Math.abs(a) > 0.5);
|
|
11215
|
+
if (anyRotated) {
|
|
11216
|
+
try {
|
|
11217
|
+
selection.setControlsVisibility({
|
|
11218
|
+
ml: false,
|
|
11219
|
+
mr: false,
|
|
11220
|
+
mt: false,
|
|
11221
|
+
mb: false
|
|
11222
|
+
});
|
|
11223
|
+
} catch {
|
|
11224
|
+
}
|
|
11225
|
+
}
|
|
11213
11226
|
}
|
|
11214
11227
|
}
|
|
11215
11228
|
}
|
|
@@ -24258,9 +24271,9 @@ function captureFabricCanvasSvgForPdf(fabricInstance, canvasWidth, canvasHeight)
|
|
|
24258
24271
|
}
|
|
24259
24272
|
return svgString;
|
|
24260
24273
|
}
|
|
24261
|
-
const resolvedPackageVersion = "0.5.
|
|
24274
|
+
const resolvedPackageVersion = "0.5.314";
|
|
24262
24275
|
const PACKAGE_VERSION = resolvedPackageVersion;
|
|
24263
|
-
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.
|
|
24276
|
+
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.314";
|
|
24264
24277
|
const roundParityValue = (value) => {
|
|
24265
24278
|
if (typeof value !== "number") return value;
|
|
24266
24279
|
return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
|
|
@@ -25074,7 +25087,7 @@ class PixldocsRenderer {
|
|
|
25074
25087
|
await this.waitForCanvasScene(container, cloned, i);
|
|
25075
25088
|
}
|
|
25076
25089
|
console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
|
|
25077
|
-
const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-
|
|
25090
|
+
const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-DBoLqkEn.js");
|
|
25078
25091
|
const prepared = preparePagesForExport(
|
|
25079
25092
|
cloned.pages,
|
|
25080
25093
|
canvasWidth,
|
|
@@ -27394,7 +27407,7 @@ async function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey
|
|
|
27394
27407
|
if (options == null ? void 0 : options.stripPageBackground) stripRootPageBackgroundFromSvg(svgToDraw);
|
|
27395
27408
|
sanitizeSvgTreeForPdf(svgToDraw);
|
|
27396
27409
|
try {
|
|
27397
|
-
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-
|
|
27410
|
+
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-DBoLqkEn.js");
|
|
27398
27411
|
try {
|
|
27399
27412
|
await logTextMeasurementDiagnostic(svgToDraw);
|
|
27400
27413
|
} catch {
|
|
@@ -27794,4 +27807,4 @@ export {
|
|
|
27794
27807
|
buildTeaserBlurFlatKeys as y,
|
|
27795
27808
|
collectFontDescriptorsFromConfig as z
|
|
27796
27809
|
};
|
|
27797
|
-
//# sourceMappingURL=index-
|
|
27810
|
+
//# sourceMappingURL=index-Dr4Grd18.js.map
|