Merge pull request #136 from SenecaCDOT-BigBlueButton/fix-whiteboardtoolbar-location
the whiteboard toolbar now follows the presentation window when it moves
This commit is contained in:
commit
e0e320b7a2
@ -60,6 +60,8 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
<mx:Script>
|
||||
<![CDATA[
|
||||
import flash.ui.Keyboard;
|
||||
|
||||
import flexlib.mdi.events.MDIWindowEvent;
|
||||
|
||||
import mx.containers.ControlBar;
|
||||
import mx.events.MoveEvent;
|
||||
@ -220,8 +222,8 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
public function positionToolbar(window:PresentationWindow):void {
|
||||
trace("Positioning whiteboard toolbar");
|
||||
presentationWindow = window;
|
||||
//presentationWindow.addEventListener(MoveEvent.MOVE, setPositionAndDepth);
|
||||
//presentationWindow.addEventListener(ResizeEvent.RESIZE, setPositionAndDepth);
|
||||
presentationWindow.addEventListener(MoveEvent.MOVE, setPositionAndDepth);
|
||||
presentationWindow.addEventListener(ResizeEvent.RESIZE, setPositionAndDepth);
|
||||
//presentationWindow.addEventListener(MouseEvent.CLICK, setPositionAndDepth);
|
||||
|
||||
window.presCtrlBar.addEventListener(MouseEvent.ROLL_OVER, hideToolbar);
|
||||
|
Loading…
Reference in New Issue
Block a user