From 24883a313a1de6bbcd07c618b09f95aee491be3a Mon Sep 17 00:00:00 2001 From: Vadym Samoilenko Date: Fri, 13 Mar 2026 17:06:16 +0000 Subject: [PATCH] Add Reset button and per-image Remove button - Reset button clears all images and crops without page refresh - Remove button on active image preview (bottom-left, hover turns red) - Remove buttons in thumbnail strip were already present but now active image can also be deleted individually Co-Authored-By: Claude Sonnet 4.6 --- src/components/ImageUpload.tsx | 11 +++++++++-- src/pages/Index.tsx | 23 +++++++++++++++++++++++ 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/src/components/ImageUpload.tsx b/src/components/ImageUpload.tsx index dfa3944..d09e724 100644 --- a/src/components/ImageUpload.tsx +++ b/src/components/ImageUpload.tsx @@ -128,8 +128,15 @@ const ImageUpload: React.FC = ({ )} - {/* Bottom-right: add more */} -
+ {/* Bottom row: remove current + add more */} +
+ )} + +
+ +
{/* Hint when ratios not selected */}