Pārlūkot izejas kodu

fix(participants-pane): Resize video layout when closing or opening

j8
Gabriel Imre 4 gadus atpakaļ
vecāks
revīzija
edff9bef53
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3
    0
      react/features/video-layout/middleware.web.js

+ 3
- 0
react/features/video-layout/middleware.web.js Parādīt failu

@@ -11,6 +11,7 @@ import {
11 11
 import { MiddlewareRegistry } from '../base/redux';
12 12
 import { TRACK_ADDED, TRACK_REMOVED, TRACK_STOPPED } from '../base/tracks';
13 13
 import { SET_FILMSTRIP_VISIBLE } from '../filmstrip';
14
+import { PARTICIPANTS_PANE_CLOSE, PARTICIPANTS_PANE_OPEN } from '../participants-pane/actionTypes.js';
14 15
 
15 16
 import './middleware.any';
16 17
 
@@ -53,6 +54,8 @@ MiddlewareRegistry.register(store => next => action => {
53 54
         break;
54 55
     }
55 56
 
57
+    case PARTICIPANTS_PANE_CLOSE:
58
+    case PARTICIPANTS_PANE_OPEN:
56 59
     case SET_FILMSTRIP_VISIBLE:
57 60
         VideoLayout.resizeVideoArea();
58 61
         break;

Notiek ielāde…
Atcelt
Saglabāt