fix birdseye fullscreen (#11625)

This commit is contained in:
Josh Hawkins
2024-05-29 14:18:51 -05:00
committed by GitHub
parent 9e8202874e
commit 37dd3fc25b
2 changed files with 13 additions and 13 deletions

View File

@@ -49,7 +49,7 @@ export default function JSMpegPlayer({
selectedContainerRef.current?.clientHeight,
),
)
: aspectRatio > fitAspect
: aspectRatio >= fitAspect
? Math.floor(containerWidth / aspectRatio)
: Math.floor(containerWidth / aspectRatio) / 1.5;
const finalHeight = stretch