Merge pull request #17695 from KDSBrowne/bbb-iphone-patch

fix: Prevent Webcam Styling Crash On iPhones
This commit is contained in:
Anton Georgiev 2023-04-24 08:56:57 -04:00 committed by GitHub
commit bf04095593
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -236,8 +236,8 @@ const WebcamComponent = ({
role="region"
draggable={cameraDock.isDraggable && !isFullscreen ? 'true' : undefined}
style={{
width: isDragging ? cameraSize.width : cameraDock.width,
height: isDragging ? cameraSize.height : cameraDock.height,
width: `${isDragging ? cameraSize.width : cameraDock.width}pt`,
height: `${isDragging ? cameraSize.height : cameraDock.height}pt`,
opacity: isDragging ? 0.5 : undefined,
background: isCameraSidebar ? colorContentBackground : null,
}}