This commit is contained in:
Ali
2020-12-30 00:14:14 +04:00
parent 13617eb082
commit f261401152
4 changed files with 23 additions and 8 deletions

View File

@@ -1893,7 +1893,7 @@ public final class VoiceChatController: ViewController {
var currentVideoOrigin = CGPoint(x: 4.0, y: (layout.statusBarHeight ?? 0.0) + 4.0)
for videoNode in self.videoNodes {
let videoSize = CGSize(width: 300.0, height: 400.0)
let videoSize = CGSize(width: 200.0, height: 200.0)
if currentVideoOrigin.x + videoSize.width > layout.size.width {
currentVideoOrigin.x = 0.0
currentVideoOrigin.y += videoSize.height