diff --git a/modules/UI/videolayout/FilmStrip.js b/modules/UI/videolayout/FilmStrip.js index 1f2fd8e6c..2b9b0b3e4 100644 --- a/modules/UI/videolayout/FilmStrip.js +++ b/modules/UI/videolayout/FilmStrip.js @@ -160,6 +160,12 @@ const FilmStrip = { return this.calculateThumbnailSizeFromAvailable(width, height); }, + /** + * Calculates available size for one thumbnail according to + * the current window size. + * + * @returns {{availableWidth: number, availableHeight: number}} + */ calculateAvailableSize() { let availableHeight = interfaceConfig.FILM_STRIP_MAX_HEIGHT; let thumbs = this.getThumbs(true);