Skip to content

Commit

Permalink
Be initially zoomed in more for STL view (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
chennisden authored Aug 9, 2024
1 parent a45bd5b commit 75e58e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/components/listing/ListingSTLs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
></PerspectiveCamera>
<Editor setSelected={setSelected} url={url} />
Expand Down

0 comments on commit 75e58e4

Please sign in to comment.