ソースを参照

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
 /**

読み込み中…
キャンセル
保存