Resizes large video on filmstrip toggle.

This commit is contained in:
damencho 2016-03-11 12:57:49 -06:00
parent ed85658ce5
commit 97733cd17a
2 changed files with 9 additions and 5 deletions

View File

@ -276,7 +276,10 @@ function registerListeners() {
UI.addListener(UIEvents.TOGGLE_CONTACT_LIST, UI.toggleContactList); UI.addListener(UIEvents.TOGGLE_CONTACT_LIST, UI.toggleContactList);
UI.addListener(UIEvents.TOGGLE_FILM_STRIP, UI.toggleFilmStrip); UI.addListener(UIEvents.TOGGLE_FILM_STRIP, function () {
UI.toggleFilmStrip();
VideoLayout.resizeVideoArea(PanelToggler.isVisible(), true, true);
});
} }
/** /**

View File

@ -804,7 +804,8 @@ var VideoLayout = {
* @param forceUpdate indicates that hidden thumbnails will be shown * @param forceUpdate indicates that hidden thumbnails will be shown
* @param completeFunction a function to be called when the video area is * @param completeFunction a function to be called when the video area is
* resized. * resized.
*/resizeVideoArea (isSideBarVisible, */
resizeVideoArea (isSideBarVisible,
forceUpdate = false, forceUpdate = false,
animate = false, animate = false,
completeFunction = null) { completeFunction = null) {