Skip to content
Permalink
Browse files

fix presentation rotate and postition problem

  • Loading branch information...
GaryDeng committed Jul 18, 2014
1 parent 03afd2b commit 9489bf0bc4a1c5fc6face45dcf33e570ea691fb8
@@ -2,9 +2,10 @@ package org.bigbluebutton.view.navigation
{
import flash.events.MouseEvent;

import spark.components.ViewNavigator;
import spark.transitions.ViewTransitionBase;

public class PagesNavigatorView extends PagesNavigatorViewBase implements IPagesNavigatorView
public class PagesNavigatorView extends ViewNavigator implements IPagesNavigatorView
{

override protected function childrenCreated():void

This file was deleted.

Oops, something went wrong.
@@ -25,7 +25,6 @@ package org.bigbluebutton.view.navigation.pages.presentation
override protected function childrenCreated():void
{
super.childrenCreated();
rotationHandler(FlexGlobals.topLevelApplication.currentOrientation);
}

public function onClick(e:MouseEvent):void
@@ -56,21 +55,22 @@ package org.bigbluebutton.view.navigation.pages.presentation
override public function rotationHandler(rotation:String):void {
switch (rotation) {
case StageOrientation.ROTATED_LEFT:
content.rotation = -90;
slide.rotation = -90;
break;
case StageOrientation.ROTATED_RIGHT:
content.rotation = 90;
slide.rotation = 90;
break;
case StageOrientation.UPSIDE_DOWN:
content.rotation = 180;
slide.rotation = 180;
break;
case StageOrientation.DEFAULT:
case StageOrientation.UNKNOWN:
default:
content.rotation = 0;
}
slide.rotation = 0;
}
}


public function dispose():void
{

0 comments on commit 9489bf0

Please sign in to comment.
You can’t perform that action at this time.