From df3a23a74af78ea803dc38286db93f4d56491ea7 Mon Sep 17 00:00:00 2001 From: christian Date: Sat, 2 Nov 2024 23:48:19 +0100 Subject: [PATCH] deimals --- app/routes/CropSelector.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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)}

);