fix(layout): hide/show media in videoFocus
Fix an error that the hide/show button does not work when there is external video/screenshare and the layout is "videoFocus".
This commit is contained in:
parent
a0312348cb
commit
38d95b0ea8
@ -477,6 +477,11 @@ class VideoFocusLayout extends Component {
|
||||
mediaBounds.top = sidebarContentHeight + this.bannerAreaHeight();
|
||||
mediaBounds.width = sidebarContentWidth;
|
||||
mediaBounds.zIndex = 1;
|
||||
} else if (!input.presentation.isOpen) {
|
||||
mediaBounds.width = 0;
|
||||
mediaBounds.height = 0;
|
||||
mediaBounds.top = 0;
|
||||
mediaBounds.left = 0;
|
||||
} else {
|
||||
mediaBounds.height = mediaAreaBounds.height;
|
||||
mediaBounds.width = mediaAreaBounds.width;
|
||||
|
Loading…
Reference in New Issue
Block a user