fix minimize presentation focus on presentation layout
This commit is contained in:
parent
314f35c44e
commit
9ee4975e7f
@ -479,6 +479,8 @@ class PresentationFocusLayout extends Component {
|
||||
calculatesLayout() {
|
||||
const { layoutContextState, layoutContextDispatch } = this.props;
|
||||
const { deviceType, input, isRTL } = layoutContextState;
|
||||
const { presentation } = input;
|
||||
const { isOpen } = presentation;
|
||||
const { captionsMargin } = DEFAULT_VALUES;
|
||||
|
||||
const sidebarNavWidth = this.calculatesSidebarNavWidth();
|
||||
@ -654,7 +656,7 @@ class PresentationFocusLayout extends Component {
|
||||
type: ACTIONS.SET_SCREEN_SHARE_OUTPUT,
|
||||
value: {
|
||||
width: mediaBounds.width,
|
||||
height: mediaBounds.height,
|
||||
height: isOpen ? mediaBounds.height : 0,
|
||||
top: mediaBounds.top,
|
||||
left: mediaBounds.left,
|
||||
right: mediaBounds.right,
|
||||
@ -666,7 +668,7 @@ class PresentationFocusLayout extends Component {
|
||||
type: ACTIONS.SET_EXTERNAL_VIDEO_OUTPUT,
|
||||
value: {
|
||||
width: mediaBounds.width,
|
||||
height: mediaBounds.height,
|
||||
height: isOpen ? mediaBounds.height : 0,
|
||||
top: mediaBounds.top,
|
||||
left: mediaBounds.left,
|
||||
right: mediaBounds.right,
|
||||
|
Loading…
Reference in New Issue
Block a user