@pixldocs/canvas-renderer 0.5.263 → 0.5.264

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.
@@ -13785,6 +13785,19 @@ const PageCanvas = forwardRef(
13785
13785
  prepareGroupSelectionTransformStart(e.target);
13786
13786
  markTransforming(e.target);
13787
13787
  didTransformRef.current = true;
13788
+ const activeDuringMove = fabricCanvas.getActiveObject();
13789
+ const movingLogicalGroupId = activeDuringMove instanceof fabric.ActiveSelection ? activeDuringMove.__pixldocsGroupSelection : void 0;
13790
+ const pendingMoveDrill = pendingGroupDrillInRef.current;
13791
+ if (movingLogicalGroupId || pendingMoveDrill) {
13792
+ const groupIdToKeep = movingLogicalGroupId ?? (pendingMoveDrill == null ? void 0 : pendingMoveDrill.groupId);
13793
+ pendingGroupDrillInRef.current = null;
13794
+ fabricCanvas.__activeEditingGroupId = null;
13795
+ setDrilledGroupBounds(null);
13796
+ drilledGroupIdRef.current = null;
13797
+ if (activeDuringMove instanceof fabric.ActiveSelection && groupIdToKeep) {
13798
+ restoreGroupSelectionVisualState(activeDuringMove, groupIdToKeep);
13799
+ }
13800
+ }
13788
13801
  if (e.target) e.target.__pixldocsDragMoved = true;
13789
13802
  const moveTargetId = e.target ? getObjectId(e.target) : null;
13790
13803
  if (moveTargetId && moveTargetId !== "__background__") {
@@ -23586,9 +23599,9 @@ function captureFabricCanvasSvgForPdf(fabricInstance, canvasWidth, canvasHeight)
23586
23599
  }
23587
23600
  return svgString;
23588
23601
  }
23589
- const resolvedPackageVersion = "0.5.263";
23602
+ const resolvedPackageVersion = "0.5.264";
23590
23603
  const PACKAGE_VERSION = resolvedPackageVersion;
23591
- const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.263";
23604
+ const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.264";
23592
23605
  const roundParityValue = (value) => {
23593
23606
  if (typeof value !== "number") return value;
23594
23607
  return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
@@ -24402,7 +24415,7 @@ class PixldocsRenderer {
24402
24415
  await this.waitForCanvasScene(container, cloned, i);
24403
24416
  }
24404
24417
  console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
24405
- const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-Cmcu_nQW.js");
24418
+ const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-BYAVxEPn.js");
24406
24419
  const prepared = preparePagesForExport(
24407
24420
  cloned.pages,
24408
24421
  canvasWidth,
@@ -26722,7 +26735,7 @@ async function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey
26722
26735
  if (options == null ? void 0 : options.stripPageBackground) stripRootPageBackgroundFromSvg(svgToDraw);
26723
26736
  sanitizeSvgTreeForPdf(svgToDraw);
26724
26737
  try {
26725
- const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-Cmcu_nQW.js");
26738
+ const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-BYAVxEPn.js");
26726
26739
  try {
26727
26740
  await logTextMeasurementDiagnostic(svgToDraw);
26728
26741
  } catch {
@@ -27122,4 +27135,4 @@ export {
27122
27135
  buildTeaserBlurFlatKeys as y,
27123
27136
  collectFontDescriptorsFromConfig as z
27124
27137
  };
27125
- //# sourceMappingURL=index-BLbklps9.js.map
27138
+ //# sourceMappingURL=index-BG1PCSDy.js.map