From 30603a04627746390847651409e69eb49d8b3322 Mon Sep 17 00:00:00 2001 From: fo Date: Tue, 30 Sep 2014 17:41:47 +0300 Subject: [PATCH] Changes calculations for the thumbnail size to avoid the appearance of a second row. --- videolayout.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/videolayout.js b/videolayout.js index 80c079270..70c8f6189 100644 --- a/videolayout.js +++ b/videolayout.js @@ -919,8 +919,9 @@ var VideoLayout = (function (my) { numvids = $('#remoteVideos>span:visible').length; // Remove the 3px borders arround videos and border around the remote - // videos area - var availableWinWidth = videoSpaceWidth - 2 * 3 * numvids - 70; + // videos area and the 4 pixels between the local video and the others + //TODO: Find out where the 4 pixels come from and remove them + var availableWinWidth = videoSpaceWidth - 2 * 3 * numvids - 70 - 4; var availableWidth = availableWinWidth / numvids; var aspectRatio = 16.0 / 9.0;