From 95fcf5bae522e389b2dfe9dd59c5d6dc7894f58d Mon Sep 17 00:00:00 2001 From: yanas Date: Thu, 10 Nov 2016 11:07:12 -0600 Subject: [PATCH] Change method name to fit better its purpose --- modules/UI/videolayout/FilmStrip.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/UI/videolayout/FilmStrip.js b/modules/UI/videolayout/FilmStrip.js index a12cf61e2..2425cd889 100644 --- a/modules/UI/videolayout/FilmStrip.js +++ b/modules/UI/videolayout/FilmStrip.js @@ -205,7 +205,7 @@ const FilmStrip = { */ let videoAreaAvailableWidth = UIUtil.getAvailableVideoWidth() - - this._getFilmstripWidthExceptThumbnails() + - this._getFilmstripExtraPanelsWidth() - UIUtil.parseCssInt(this.filmStrip.css('right'), 10) - UIUtil.parseCssInt(this.filmStrip.css('paddingLeft'), 10) - UIUtil.parseCssInt(this.filmStrip.css('paddingRight'), 10) @@ -271,11 +271,12 @@ const FilmStrip = { * Traverse all elements inside the filmstrip * and calculates the sum of all of them except * remote videos element. Used for calculation of - * available width for video thumbnails + * available width for video thumbnails. + * * @returns {number} calculated width * @private */ - _getFilmstripWidthExceptThumbnails() { + _getFilmstripExtraPanelsWidth() { let className = this.filmStripContainerClassName; let width = 0; $(`.${className}`)