Skip to content

Commit

Permalink
fully hide media ovelay / fix whiteboard drawing with no cams
Browse files Browse the repository at this point in the history
  • Loading branch information
KDSBrowne committed Apr 29, 2020
1 parent df35c6f commit 174660a
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions bigbluebutton-html5/imports/ui/components/media/component.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,16 +94,18 @@ export default class Media extends Component {
>
{children}
</div>
<WebcamDraggable
refMediaContainer={this.refContainer}
swapLayout={swapLayout}
singleWebcam={singleWebcam}
usersVideoLenght={usersVideo.length}
hideOverlay={hideOverlay}
disableVideo={disableVideo}
audioModalIsOpen={audioModalIsOpen}
usersVideo={usersVideo}
/>
{usersVideo.length > 0 ? (
<WebcamDraggable
refMediaContainer={this.refContainer}
swapLayout={swapLayout}
singleWebcam={singleWebcam}
usersVideoLenght={usersVideo.length}
hideOverlay={hideOverlay}
disableVideo={disableVideo}
audioModalIsOpen={audioModalIsOpen}
usersVideo={usersVideo}
/>
) : null}
</div>
);
}
Expand Down

0 comments on commit 174660a

Please sign in to comment.