Change method name to fit better its purpose

This commit is contained in:
yanas 2016-11-10 11:07:12 -06:00
parent 34acadc3b5
commit 95fcf5bae5
1 changed files with 4 additions and 3 deletions

View File

@ -205,7 +205,7 @@ const FilmStrip = {
*/ */
let videoAreaAvailableWidth let videoAreaAvailableWidth
= UIUtil.getAvailableVideoWidth() = UIUtil.getAvailableVideoWidth()
- this._getFilmstripWidthExceptThumbnails() - this._getFilmstripExtraPanelsWidth()
- UIUtil.parseCssInt(this.filmStrip.css('right'), 10) - UIUtil.parseCssInt(this.filmStrip.css('right'), 10)
- UIUtil.parseCssInt(this.filmStrip.css('paddingLeft'), 10) - UIUtil.parseCssInt(this.filmStrip.css('paddingLeft'), 10)
- UIUtil.parseCssInt(this.filmStrip.css('paddingRight'), 10) - UIUtil.parseCssInt(this.filmStrip.css('paddingRight'), 10)
@ -271,11 +271,12 @@ const FilmStrip = {
* Traverse all elements inside the filmstrip * Traverse all elements inside the filmstrip
* and calculates the sum of all of them except * and calculates the sum of all of them except
* remote videos element. Used for calculation of * remote videos element. Used for calculation of
* available width for video thumbnails * available width for video thumbnails.
*
* @returns {number} calculated width * @returns {number} calculated width
* @private * @private
*/ */
_getFilmstripWidthExceptThumbnails() { _getFilmstripExtraPanelsWidth() {
let className = this.filmStripContainerClassName; let className = this.filmStripContainerClassName;
let width = 0; let width = 0;
$(`.${className}`) $(`.${className}`)