Sfoglia il codice sorgente

Change method name to fit better its purpose

master
yanas 9 anni fa
parent
commit
95fcf5bae5
1 ha cambiato i file con 4 aggiunte e 3 eliminazioni
  1. 4
    3
      modules/UI/videolayout/FilmStrip.js

+ 4
- 3
modules/UI/videolayout/FilmStrip.js Vedi File

205
          */
205
          */
206
         let videoAreaAvailableWidth
206
         let videoAreaAvailableWidth
207
             = UIUtil.getAvailableVideoWidth()
207
             = UIUtil.getAvailableVideoWidth()
208
-            - this._getFilmstripWidthExceptThumbnails()
208
+            - this._getFilmstripExtraPanelsWidth()
209
             - UIUtil.parseCssInt(this.filmStrip.css('right'), 10)
209
             - UIUtil.parseCssInt(this.filmStrip.css('right'), 10)
210
             - UIUtil.parseCssInt(this.filmStrip.css('paddingLeft'), 10)
210
             - UIUtil.parseCssInt(this.filmStrip.css('paddingLeft'), 10)
211
             - UIUtil.parseCssInt(this.filmStrip.css('paddingRight'), 10)
211
             - UIUtil.parseCssInt(this.filmStrip.css('paddingRight'), 10)
271
      * Traverse all elements inside the filmstrip
271
      * Traverse all elements inside the filmstrip
272
      * and calculates the sum of all of them except
272
      * and calculates the sum of all of them except
273
      * remote videos element. Used for calculation of
273
      * remote videos element. Used for calculation of
274
-     * available width for video thumbnails
274
+     * available width for video thumbnails.
275
+     *
275
      * @returns {number} calculated width
276
      * @returns {number} calculated width
276
      * @private
277
      * @private
277
      */
278
      */
278
-    _getFilmstripWidthExceptThumbnails() {
279
+    _getFilmstripExtraPanelsWidth() {
279
         let className = this.filmStripContainerClassName;
280
         let className = this.filmStripContainerClassName;
280
         let width = 0;
281
         let width = 0;
281
         $(`.${className}`)
282
         $(`.${className}`)

Loading…
Annulla
Salva