Removes empty space from the available width calculation.
This commit is contained in:
parent
ad44cc518a
commit
67a73b163e
|
@ -65,7 +65,7 @@ const FilmStrip = {
|
||||||
- parseInt(this.filmStrip.css('paddingLeft'), 10)
|
- parseInt(this.filmStrip.css('paddingLeft'), 10)
|
||||||
- parseInt(this.filmStrip.css('paddingRight'), 10)
|
- parseInt(this.filmStrip.css('paddingRight'), 10)
|
||||||
- parseInt(this.filmStrip.css('borderLeftWidth'), 10)
|
- parseInt(this.filmStrip.css('borderLeftWidth'), 10)
|
||||||
- parseInt(this.filmStrip.css('borderRightWidth'), 10);
|
- parseInt(this.filmStrip.css('borderRightWidth'), 10) - 5;
|
||||||
|
|
||||||
let availableWidth = Math.floor(
|
let availableWidth = Math.floor(
|
||||||
(videoAreaAvailableWidth - numvids * (
|
(videoAreaAvailableWidth - numvids * (
|
||||||
|
@ -75,7 +75,7 @@ const FilmStrip = {
|
||||||
+ parseInt(localVideoContainer.css('paddingRight'), 10)
|
+ parseInt(localVideoContainer.css('paddingRight'), 10)
|
||||||
+ parseInt(localVideoContainer.css('marginLeft'), 10)
|
+ parseInt(localVideoContainer.css('marginLeft'), 10)
|
||||||
+ parseInt(localVideoContainer.css('marginRight'), 10)))
|
+ parseInt(localVideoContainer.css('marginRight'), 10)))
|
||||||
/ numvids) - 20;
|
/ numvids);
|
||||||
|
|
||||||
let maxHeight
|
let maxHeight
|
||||||
// If the MAX_HEIGHT property hasn't been specified
|
// If the MAX_HEIGHT property hasn't been specified
|
||||||
|
|
Loading…
Reference in New Issue