Merge pull request #12718 from ramonlsouza/webcam-position-mobile

fix: layout issues on mobile with portrait presentation
This commit is contained in:
Anton Georgiev 2021-07-05 09:06:57 -04:00 committed by GitHub
commit 28a9b827cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -306,7 +306,7 @@ class LayoutManagerComponent extends Component {
return;
}
if ((mediaAreaWidth - presentationWidth) > (mediaAreaHeight - presentationHeight)) {
if (!isMobile && ((mediaAreaWidth - presentationWidth) > (mediaAreaHeight - presentationHeight))) {
layoutContextDispatch(
{
type: 'setWebcamsPlacement',