diff --git a/app/routes/CropSelector.tsx b/app/routes/CropSelector.tsx index 4cc0c21..b4f2c39 100644 --- a/app/routes/CropSelector.tsx +++ b/app/routes/CropSelector.tsx @@ -42,7 +42,7 @@ export default function CropSelector() { }, [firstDragable, secondDragable]); return ( -
+
{containerHeight !== null && containerWidth !== null && ( <> @@ -64,10 +64,10 @@ export default function CropSelector() { )}
-
+

{containerWidth} - {containerHeight}

-

firstDragable: {...Object.entries(firstDragable)}

-

secondDragable: {...Object.entries(secondDragable)}

+

firstDragable: x: {firstDragable.x.toFixed(2)} y: {firstDragable.y.toFixed(2)}

+

secondDragable: x: {secondDragable.x.toFixed(2)} y: {secondDragable.y.toFixed(2)}

);