Changes calculations for the thumbnail size to avoid the appearance of a second row.
This commit is contained in:
parent
380b1de723
commit
30603a0462
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue