Merge pull request #17695 from KDSBrowne/bbb-iphone-patch
fix: Prevent Webcam Styling Crash On iPhones
This commit is contained in:
commit
bf04095593
@ -236,8 +236,8 @@ const WebcamComponent = ({
|
|||||||
role="region"
|
role="region"
|
||||||
draggable={cameraDock.isDraggable && !isFullscreen ? 'true' : undefined}
|
draggable={cameraDock.isDraggable && !isFullscreen ? 'true' : undefined}
|
||||||
style={{
|
style={{
|
||||||
width: isDragging ? cameraSize.width : cameraDock.width,
|
width: `${isDragging ? cameraSize.width : cameraDock.width}pt`,
|
||||||
height: isDragging ? cameraSize.height : cameraDock.height,
|
height: `${isDragging ? cameraSize.height : cameraDock.height}pt`,
|
||||||
opacity: isDragging ? 0.5 : undefined,
|
opacity: isDragging ? 0.5 : undefined,
|
||||||
background: isCameraSidebar ? colorContentBackground : null,
|
background: isCameraSidebar ? colorContentBackground : null,
|
||||||
}}
|
}}
|
||||||
|
Loading…
Reference in New Issue
Block a user