From 75e58e4b8f18608d93edbaf368b0ee25c16459a5 Mon Sep 17 00:00:00 2001 From: Dennis Chen <41879777+chennisden@users.noreply.github.com> Date: Thu, 8 Aug 2024 21:12:30 -0700 Subject: [PATCH] Be initially zoomed in more for STL view (#277) --- frontend/src/components/listing/ListingSTLs.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/listing/ListingSTLs.tsx b/frontend/src/components/listing/ListingSTLs.tsx index fe25c59e..5f1a56e8 100644 --- a/frontend/src/components/listing/ListingSTLs.tsx +++ b/frontend/src/components/listing/ListingSTLs.tsx @@ -52,7 +52,8 @@ const SingleStlViewer = (props: SingleStlViewerProps) => { aspect={window.innerWidth / window.innerHeight} position={[3, 0.15, 3]} near={1} - far={5000} + zoom={10} + far={1000} position-z={600} >