Skip to content

Commit

Permalink
reverting camera and canvas width and height values
Browse files Browse the repository at this point in the history
  • Loading branch information
imrany committed Oct 17, 2024
1 parent 76e4098 commit 4b5b49a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/MainPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,9 @@ export default function MainPage() {
textAlign: "center",
zIndex: 9,
width:"100vw",
height:"100vh",
objectFit:"cover"
}}
height={videoConstraints.height}
width={videoConstraints.width}
screenshotFormat="image/png"
videoConstraints={videoConstraints}
/>
Expand All @@ -156,9 +156,9 @@ export default function MainPage() {
left: 0,
right: 0,
textAlign: "center",
margin:"10px 0",
zIndex: 10,
width:"95vw",
height:"95vh"
}}
/>
<div className="fixed bottom-0 left-0 right-0 z-20 h-[180px]">
Expand Down

0 comments on commit 4b5b49a

Please sign in to comment.