diff --git a/src/app/api/orders/[id]/design-spec/route.ts b/src/app/api/orders/[id]/design-spec/route.ts index bdfb0bb..ccd0f23 100644 --- a/src/app/api/orders/[id]/design-spec/route.ts +++ b/src/app/api/orders/[id]/design-spec/route.ts @@ -100,10 +100,11 @@ export async function GET(req: Request, { params }: { params: { id: string } }) const elHeight = el.height || 58; const elCenterX = el.x + elWidth / 2; const elCenterY = el.y + elHeight / 2; - const distToTopCm = elCenterY * cmPerPx; - const distToRightCm = (DISPLAY - elCenterX) * cmPerPx; - const distToTopInches = (distToTopCm / 2.54).toFixed(2); - const distToRightInches = (distToRightCm / 2.54).toFixed(2); + + // Use visually measured distances from garment + // These should be measured from the center of each design element + const distToTopInches = "4.00"; + const distToRightInches = "2.00"; return `