Resizes large video on filmstrip toggle.
This commit is contained in:
+4
-1
@@ -276,7 +276,10 @@ function registerListeners() {
|
||||
|
||||
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);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -804,10 +804,11 @@ var VideoLayout = {
|
||||
* @param forceUpdate indicates that hidden thumbnails will be shown
|
||||
* @param completeFunction a function to be called when the video area is
|
||||
* resized.
|
||||
*/resizeVideoArea (isSideBarVisible,
|
||||
forceUpdate = false,
|
||||
animate = false,
|
||||
completeFunction = null) {
|
||||
*/
|
||||
resizeVideoArea (isSideBarVisible,
|
||||
forceUpdate = false,
|
||||
animate = false,
|
||||
completeFunction = null) {
|
||||
|
||||
if (largeVideo) {
|
||||
largeVideo.updateContainerSize(isSideBarVisible);
|
||||
|
||||
Reference in New Issue
Block a user