@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.
@@ -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.313";
24274
+ const resolvedPackageVersion = "0.5.314";
24262
24275
  const PACKAGE_VERSION = resolvedPackageVersion;
24263
- const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.313";
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-BPFpKueR.js");
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-BPFpKueR.js");
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-D8s0AmMC.js.map
27810
+ //# sourceMappingURL=index-Dr4Grd18.js.map