[mirotalksfu] - add default

هذا الالتزام موجود في:
Miroslav Pejic
2022-02-28 14:15:26 +01:00
الأصل 35c90bd2ca
التزام 8b53101947

عرض الملف

@@ -1555,6 +1555,8 @@ function adaptAspectRatio(participantsCount) {
case 8: case 8:
desktop = 3; // (1:1) desktop = 3; // (1:1)
break; break;
default:
desktop = 0; // (0:0)
} }
// mobile aspect ratio // mobile aspect ratio
switch (participantsCount) { switch (participantsCount) {
@@ -1575,6 +1577,8 @@ function adaptAspectRatio(participantsCount) {
case 6: case 6:
mobile = 3; // (1:1) mobile = 3; // (1:1)
break; break;
default:
mobile = 3; // (1:1)
} }
if (participantsCount > 11) { if (participantsCount > 11) {
desktop = 1; // (4:3) desktop = 1; // (4:3)