diff --git a/src/components/DesignCanvas.tsx b/src/components/DesignCanvas.tsx index ad4127c..63535d0 100644 --- a/src/components/DesignCanvas.tsx +++ b/src/components/DesignCanvas.tsx @@ -777,6 +777,34 @@ export default function DesignCanvas({ product }: { product: ProductDTO }) { )} + {selected && ( +
+

Position & Size

+
+
+ X: + {Math.round(selected.x)} px +
+
+ Y: + {Math.round(selected.y)} px +
+ {selected.type === 'image' && ( + <> +
+ Width: + {Math.round(selected.width)} px +
+
+ Height: + {Math.round(selected.height)} px +
+ + )} +
+
+ )} + {selected?.type === 'text' && (
+
+ Size: + {Math.round(selected.width)} × {Math.round(selected.height)} px +