- add more logging
This commit is contained in:
parent
7885023e19
commit
515ff2a6c9
@ -408,10 +408,12 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
}
|
||||
|
||||
private function handleDisplaySlideEvent(event:DisplaySlideEvent):void {
|
||||
LOGGER.debug("Got a DisplaySlideEvent pod=" + podId);
|
||||
var presentationModel:PresentationModel = PresentationPodManager.getInstance().getPod(podId);
|
||||
if (presentationModel != null) {
|
||||
var curPage:Page = presentationModel.getCurrentPage();
|
||||
if (curPage != null) {
|
||||
LOGGER.debug("Got a DisplaySlideEvent pod=" + podId + " current page=" + curPage.num);
|
||||
displaySlideNumber(curPage.num);
|
||||
currentSlideWidth = event.slideWidth;
|
||||
currentSlideHeight = event.slideHeight;
|
||||
|
@ -256,7 +256,10 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
}
|
||||
|
||||
public function onZoomSlide(zoom:Number):void {
|
||||
if (slideLoader.content == null) return;
|
||||
if (slideLoader.content == null) {
|
||||
LOGGER.debug("Not zooming. slideLoader.content == null");
|
||||
return;
|
||||
}
|
||||
zoomSlide(zoom, (((slideLoader.content.width/2)*SlideViewModel.HUNDRED_PERCENT)/zoom), (((slideLoader.content.height/2)*SlideViewModel.HUNDRED_PERCENT)/zoom));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user