diff --git a/src/components/DesignCanvas.tsx b/src/components/DesignCanvas.tsx index 032a8ba..66ae779 100644 --- a/src/components/DesignCanvas.tsx +++ b/src/components/DesignCanvas.tsx @@ -167,6 +167,7 @@ function PrintSurface({ caption, onNodeReady, scale, + product, }: { photo: React.ReactNode; printArea: PrintArea; @@ -181,6 +182,7 @@ function PrintSurface({ caption: string; onNodeReady: () => void; scale: number; + product: ProductDTO; }) { const stageW = printArea.wPct * DISPLAY; const stageH = printArea.hPct * DISPLAY; @@ -721,6 +723,7 @@ export default function DesignCanvas({ product }: { product: ProductDTO }) { caption="Dashed line marks the print area" onNodeReady={() => setNodeReadyTick((t) => t + 1)} scale={canvasScale} + product={product} /> {hasBack && ( @@ -738,6 +741,7 @@ export default function DesignCanvas({ product }: { product: ProductDTO }) { caption="Dashed line marks the print area (back)" onNodeReady={() => setNodeReadyTick((t) => t + 1)} scale={canvasScale} + product={product} /> )}