浏览代码

tile-view: fix number of columns calculation

master
Paul Mestrum 5 年前
父节点
当前提交
b70633ef24
没有帐户链接到提交者的电子邮件
共有 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
 /**

正在加载...
取消
保存