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 { MiddlewareRegistry } from '../base/redux';
|
||||||
import { TRACK_ADDED, TRACK_REMOVED, TRACK_STOPPED } from '../base/tracks';
|
import { TRACK_ADDED, TRACK_REMOVED, TRACK_STOPPED } from '../base/tracks';
|
||||||
import { SET_FILMSTRIP_VISIBLE } from '../filmstrip';
|
import { SET_FILMSTRIP_VISIBLE } from '../filmstrip';
|
||||||
|
import { PARTICIPANTS_PANE_CLOSE, PARTICIPANTS_PANE_OPEN } from '../participants-pane/actionTypes.js';
|
||||||
|
|
||||||
import './middleware.any';
|
import './middleware.any';
|
||||||
|
|
||||||
|
@ -53,6 +54,8 @@ MiddlewareRegistry.register(store => next => action => {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case PARTICIPANTS_PANE_CLOSE:
|
||||||
|
case PARTICIPANTS_PANE_OPEN:
|
||||||
case SET_FILMSTRIP_VISIBLE:
|
case SET_FILMSTRIP_VISIBLE:
|
||||||
VideoLayout.resizeVideoArea();
|
VideoLayout.resizeVideoArea();
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue