소스 검색

tile-view: fix number of columns calculation

master
Paul Mestrum 5 년 전
부모
커밋
b70633ef24
No account linked to committer's email address
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      react/features/video-layout/functions.js

+ 1
- 1
react/features/video-layout/functions.js 파일 보기

@@ -31,7 +31,7 @@ export function getCurrentLayout(state: Object) {
31 31
 export function getMaxColumnCount() {
32 32
     const configuredMax = interfaceConfig.TILE_VIEW_MAX_COLUMNS || 5;
33 33
 
34
-    return Math.max(Math.min(configuredMax, 1), 5);
34
+    return Math.min(Math.max(configuredMax, 1), 5);
35 35
 }
36 36
 
37 37
 /**

Loading…
취소
저장