Resizing only the active tab
Both tabs (DesktopView and SlideView) share the whiteboard canvas, so we need to resize only the active tab to prevent whiteboard canvas being resized based on a unused tab.
This commit is contained in:
parent
a471d084df
commit
94a7a7d26c
@ -302,9 +302,9 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
* Notify the slide container telling it the available dimensions to display the slide.
|
||||
*/
|
||||
private function sendWindowResizedEvent(parentWidth:Number, parentHeight:Number):void {
|
||||
if(slideView != null)
|
||||
if(currentTabIndex == PRESENTATION_TAB_INDEX && slideView != null)
|
||||
slideView.onParentResized(parentWidth, parentHeight);
|
||||
if(DSViewCanvas != null)
|
||||
else if(currentTabIndex == DESKSHARE_VIEW_TAB_INDEX && DSViewCanvas != null)
|
||||
DSViewCanvas.onParentResized(parentWidth, parentHeight);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user