@pixldocs/canvas-renderer 0.5.262 → 0.5.263

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.
@@ -14242,7 +14242,7 @@ const PageCanvas = forwardRef(
14242
14242
  const newTop = (groupToMove.top ?? 0) + deltaY;
14243
14243
  updateNodeStore(groupToMove.id, { left: newLeft, top: newTop }, { recordHistory: false, skipLayoutRecalc: true });
14244
14244
  commitHistoryStore();
14245
- const groupSelectionId = isActiveSelection && activeObj instanceof fabric.ActiveSelection ? activeObj.__pixldocsGroupSelection : void 0;
14245
+ const groupSelectionId = (isActiveSelection && activeObj instanceof fabric.ActiveSelection ? activeObj.__pixldocsGroupSelection : void 0) ?? groupToMove.id;
14246
14246
  const targetObjects = isActiveSelection && activeObj instanceof fabric.ActiveSelection ? activeObj.getObjects() : activeObjects;
14247
14247
  if (groupSelectionId && activeObj instanceof fabric.ActiveSelection) {
14248
14248
  restoreGroupSelectionVisualState(activeObj, groupSelectionId);
@@ -23586,9 +23586,9 @@ function captureFabricCanvasSvgForPdf(fabricInstance, canvasWidth, canvasHeight)
23586
23586
  }
23587
23587
  return svgString;
23588
23588
  }
23589
- const resolvedPackageVersion = "0.5.262";
23589
+ const resolvedPackageVersion = "0.5.263";
23590
23590
  const PACKAGE_VERSION = resolvedPackageVersion;
23591
- const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.262";
23591
+ const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.263";
23592
23592
  const roundParityValue = (value) => {
23593
23593
  if (typeof value !== "number") return value;
23594
23594
  return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
@@ -24402,7 +24402,7 @@ class PixldocsRenderer {
24402
24402
  await this.waitForCanvasScene(container, cloned, i);
24403
24403
  }
24404
24404
  console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
24405
- const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-BlbjTsRn.js");
24405
+ const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-Cmcu_nQW.js");
24406
24406
  const prepared = preparePagesForExport(
24407
24407
  cloned.pages,
24408
24408
  canvasWidth,
@@ -26722,7 +26722,7 @@ async function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey
26722
26722
  if (options == null ? void 0 : options.stripPageBackground) stripRootPageBackgroundFromSvg(svgToDraw);
26723
26723
  sanitizeSvgTreeForPdf(svgToDraw);
26724
26724
  try {
26725
- const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-BlbjTsRn.js");
26725
+ const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-Cmcu_nQW.js");
26726
26726
  try {
26727
26727
  await logTextMeasurementDiagnostic(svgToDraw);
26728
26728
  } catch {
@@ -27122,4 +27122,4 @@ export {
27122
27122
  buildTeaserBlurFlatKeys as y,
27123
27123
  collectFontDescriptorsFromConfig as z
27124
27124
  };
27125
- //# sourceMappingURL=index-BT_fzwgm.js.map
27125
+ //# sourceMappingURL=index-BLbklps9.js.map