Prevent scrolling on slides tab

This commit is contained in:
kreismann 2016-09-08 16:56:58 -03:00
parent 93e0ff8ab5
commit 19cf643bd3

View File

@ -211,6 +211,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
private function addWhiteboardToolbar(event:TimerEvent):void { private function addWhiteboardToolbar(event:TimerEvent):void {
LOGGER.debug("Sending event to add whiteboard canvas."); LOGGER.debug("Sending event to add whiteboard canvas.");
callLater(fitSlideToWindowMaintainingAspectRatio);
// Tell the WhiteboardManager to add the toolbar // Tell the WhiteboardManager to add the toolbar
var e:WhiteboardButtonEvent = new WhiteboardButtonEvent(WhiteboardButtonEvent.WHITEBOARD_ADDED_TO_PRESENTATION); var e:WhiteboardButtonEvent = new WhiteboardButtonEvent(WhiteboardButtonEvent.WHITEBOARD_ADDED_TO_PRESENTATION);
e.window = this; e.window = this;
@ -1056,7 +1057,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
<mx:Fade id="thumbFadeOut" alphaFrom="0" alphaTo="1" duration="100" /> <mx:Fade id="thumbFadeOut" alphaFrom="0" alphaTo="1" duration="100" />
<mx:TabNavigator id="presenterTabs" borderStyle="none" width="100%" height="100%" creationPolicy="all" paddingTop="0" paddingBottom="0" paddingLeft="0" paddingRight="0" backgroundAlpha="0.0"> <mx:TabNavigator id="presenterTabs" borderStyle="none" width="100%" height="100%" creationPolicy="all" paddingTop="0" paddingBottom="0" paddingLeft="0" paddingRight="0" backgroundAlpha="0.0">
<mx:VBox id="presentationTab" label="{currentPresentation}" width="100%" height="100%" paddingTop="0" paddingBottom="0" paddingLeft="0" paddingRight="0" verticalAlign="middle" horizontalAlign="center" backgroundAlpha="0.0"> <mx:VBox id="presentationTab" label="{currentPresentation}" width="100%" height="100%" paddingTop="0" paddingBottom="0" paddingLeft="0" paddingRight="0" verticalAlign="middle" horizontalAlign="center" backgroundAlpha="0.0" verticalScrollPolicy="off" horizontalScrollPolicy="off">
<views:SlideView id="slideView" width="100%" height="100%" visible="false" mouseDown="mouseDown = true" mouseUp="mouseDown = false" verticalScrollPolicy="off" horizontalScrollPolicy="off"/> <views:SlideView id="slideView" width="100%" height="100%" visible="false" mouseDown="mouseDown = true" mouseUp="mouseDown = false" verticalScrollPolicy="off" horizontalScrollPolicy="off"/>
</mx:VBox> </mx:VBox>
<mx:VBox id="desksharePublishTab" label="{ResourceUtil.getInstance().getString('bbb.desktopPublish.title')}" width="100%" height="100%" paddingTop="7" paddingBottom="0" paddingLeft="0" paddingRight="0" verticalAlign="middle" horizontalAlign="center" backgroundAlpha="0.0"/> <mx:VBox id="desksharePublishTab" label="{ResourceUtil.getInstance().getString('bbb.desktopPublish.title')}" width="100%" height="100%" paddingTop="7" paddingBottom="0" paddingLeft="0" paddingRight="0" verticalAlign="middle" horizontalAlign="center" backgroundAlpha="0.0"/>