From 4bc7279c1c2a7282ae594099ea7a0700f076c683 Mon Sep 17 00:00:00 2001 From: Ghazi Triki Date: Thu, 11 Jan 2018 21:34:09 +0100 Subject: [PATCH] Fix ScreenshareViewWindow scroll-bars in original video size mode. --- .../view/components/ScreenshareViewWindow.mxml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/bigbluebutton-client/src/org/bigbluebutton/modules/screenshare/view/components/ScreenshareViewWindow.mxml b/bigbluebutton-client/src/org/bigbluebutton/modules/screenshare/view/components/ScreenshareViewWindow.mxml index 353fed45e2..8f20b6cf25 100644 --- a/bigbluebutton-client/src/org/bigbluebutton/modules/screenshare/view/components/ScreenshareViewWindow.mxml +++ b/bigbluebutton-client/src/org/bigbluebutton/modules/screenshare/view/components/ScreenshareViewWindow.mxml @@ -29,6 +29,8 @@ initialize="init()" layout="absolute" creationComplete="onCreationComplete()" + verticalScrollPolicy="off" + horizontalScrollPolicy="off" implements="org.bigbluebutton.common.IBbbModuleWindow" xmlns:mate="http://mate.asfusion.com/" title="{ ResourceUtil.getInstance().getString('bbb.screenshareView.title') }" @@ -256,8 +258,8 @@ videoHolder.width = video.width; videoHolder.height = video.height; - this.verticalScrollPolicy = videoCanvas.verticalScrollPolicy = ScrollPolicy.OFF; - this.horizontalScrollPolicy = videoCanvas.horizontalScrollPolicy = ScrollPolicy.OFF; + videoCanvas.verticalScrollPolicy = ScrollPolicy.OFF; + videoCanvas.horizontalScrollPolicy = ScrollPolicy.OFF; } private function fitWindowToVideo():void { @@ -284,8 +286,8 @@ videoHolder.height = videoHeight; } - this.verticalScrollPolicy = videoCanvas.verticalScrollPolicy = ScrollPolicy.AUTO; - this.horizontalScrollPolicy = videoCanvas.horizontalScrollPolicy = ScrollPolicy.AUTO; + videoCanvas.verticalScrollPolicy = ScrollPolicy.AUTO; + videoCanvas.horizontalScrollPolicy = ScrollPolicy.AUTO; } private function determineHowToDisplayVideo():void {