Browse Source

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

master
Gabriel Imre 4 years ago
parent
commit
edff9bef53
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      react/features/video-layout/middleware.web.js

+ 3
- 0
react/features/video-layout/middleware.web.js View File

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

Loading…
Cancel
Save