fix(participants-pane): Resize video layout when closing or opening
This commit is contained in:
parent
dec90bdeb8
commit
edff9bef53
|
@ -11,6 +11,7 @@ import {
|
|||
import { MiddlewareRegistry } from '../base/redux';
|
||||
import { TRACK_ADDED, TRACK_REMOVED, TRACK_STOPPED } from '../base/tracks';
|
||||
import { SET_FILMSTRIP_VISIBLE } from '../filmstrip';
|
||||
import { PARTICIPANTS_PANE_CLOSE, PARTICIPANTS_PANE_OPEN } from '../participants-pane/actionTypes.js';
|
||||
|
||||
import './middleware.any';
|
||||
|
||||
|
@ -53,6 +54,8 @@ MiddlewareRegistry.register(store => next => action => {
|
|||
break;
|
||||
}
|
||||
|
||||
case PARTICIPANTS_PANE_CLOSE:
|
||||
case PARTICIPANTS_PANE_OPEN:
|
||||
case SET_FILMSTRIP_VISIBLE:
|
||||
VideoLayout.resizeVideoArea();
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue