Skip to content

Commit

Permalink
Fixed sight out of the camera (#808)
Browse files Browse the repository at this point in the history
  • Loading branch information
dlymonkai authored Jul 10, 2024
1 parent 18f8608 commit 100d8f5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function PhotoCaptureHUDElementsSight({

return (
<div style={styles['container']}>
{previewDimensions && <SightOverlay sight={selectedSight} />}
{previewDimensions && <SightOverlay style={style.overlay} sight={selectedSight} />}
<div style={style.elementsContainer}>
<div style={style.top}>
<SightGuideline
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ export function usePhotoCaptureHUDSightPreviewStyle({
top: styles['top'],
bottom: styles['bottom'],
overlay: {
...styles['overlay'],
width: previewDimensions?.width,
height: previewDimensions?.height,
},
Expand Down

0 comments on commit 100d8f5

Please sign in to comment.