소스 검색

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

j8
Gabriel Imre 4 년 전
부모
커밋
edff9bef53
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3
    0
      react/features/video-layout/middleware.web.js

+ 3
- 0
react/features/video-layout/middleware.web.js 파일 보기

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…
취소
저장