From 0bd7e779ee9d1e4d459208e79660f07ba7bedf7e Mon Sep 17 00:00:00 2001 From: James Brunton Date: Fri, 19 Sep 2025 16:13:00 +0100 Subject: [PATCH] Remove crop area info --- frontend/src/components/tools/crop/CropSettings.tsx | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/frontend/src/components/tools/crop/CropSettings.tsx b/frontend/src/components/tools/crop/CropSettings.tsx index aa2d1fdc1..e957936cd 100644 --- a/frontend/src/components/tools/crop/CropSettings.tsx +++ b/frontend/src/components/tools/crop/CropSettings.tsx @@ -124,13 +124,6 @@ const CropSettings = ({ parameters, disabled = false }: CropSettingsProps) => { } }; - // Calculate crop percentage - const cropPercentage = useMemo(() => { - if (!pdfBounds) return 100; - const totalArea = pdfBounds.actualWidth * pdfBounds.actualHeight; - const cropAreaSize = cropArea.width * cropArea.height; - return Math.round((cropAreaSize / totalArea) * 100); - }, [cropArea, pdfBounds]); if (!selectedStub || !pdfBounds) { return ( @@ -197,12 +190,6 @@ const CropSettings = ({ parameters, disabled = false }: CropSettingsProps) => { - {/* Crop Info */} - - - {t("crop.info.percentage", "Area: {{percentage}}%", { percentage: cropPercentage })} - - {/* Manual Coordinate Input */}