Fixed issue 299 - Presentation display element does not resize with change in presentation window

git-svn-id: http://bigbluebutton.googlecode.com/svn/trunk@3236 af16638f-c34d-0410-8cfa-b39d5352b314
This commit is contained in:
Denis Zgonjanin 2010-01-07 19:31:49 +00:00
parent 4e545a737d
commit c7dcad3f86
2 changed files with 4 additions and 4 deletions

View File

@ -339,7 +339,7 @@
<mx:Fade id="thumbFadeIn" alphaFrom="1" alphaTo="0" duration="100" />
<mx:Fade id="thumbFadeOut" alphaFrom="0" alphaTo="1" duration="100" />
<mx:Canvas id="mainCanvas" width="100%" height="100%" resize="positionThumbnails()" mouseDown="mouseDown = true"
<mx:Canvas id="mainCanvas" width="100%" height="100%" resize="positionThumbnails()" mouseDown="mouseDown = true"
mouseUp="mouseDown = false" verticalScrollPolicy="off" horizontalScrollPolicy="off" click="onCanvasClick()">
<thumb:SlideView id="slideView" width="100%" height="100%" visible="false"/>
<thumb:FisheyeThumbnail y="{thumbY}" id="thumbnailWindow" width="100%" height="100%" visible="false" backgroundAlpha="1"

View File

@ -114,9 +114,9 @@
}
public function onResize():void{
//var presentEvent:PresenterCommands = new PresenterCommands(PresenterCommands.RESET_ZOOM);
//presentEvent.zoomPercentage = 1;
//dispatchEvent(presentEvent);
if (myLoader.content == null) return;
myLoader.width = myLoader.content.width;
myLoader.height = myLoader.content.height;
}
private function zoomCallback(e:ZoomEvent):void{