From cb912b8f62d4f02abfdb0709b07eab835a15c0f1 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Fri, 27 Feb 2026 01:14:49 +0000 Subject: [PATCH] Changes --- src/components/ScreenshotGallery.tsx | 49 ++++++++++++++++++++++++++++ src/components/ViewerControls.tsx | 28 ++++++++++++++-- src/components/three/ModelViewer.tsx | 2 +- src/pages/Viewer.tsx | 4 +++ src/stores/useModelStore.ts | 12 +++++++ 5 files changed, 92 insertions(+), 3 deletions(-) create mode 100644 src/components/ScreenshotGallery.tsx diff --git a/src/components/ScreenshotGallery.tsx b/src/components/ScreenshotGallery.tsx new file mode 100644 index 0000000..6d9cf19 --- /dev/null +++ b/src/components/ScreenshotGallery.tsx @@ -0,0 +1,49 @@ +import { Camera, X, Download } from 'lucide-react'; +import { Button } from '@/components/ui/button'; +import { useModelStore } from '@/stores/useModelStore'; + +export function ScreenshotGallery() { + const { screenshots, removeScreenshot, clearScreenshots } = useModelStore(); + + if (screenshots.length === 0) return null; + + return ( +