- don't listen for 'w' and 'd' key chars to enable/disable whiteboard as it consumes text types into text field

This commit is contained in:
Richard Alam 2012-07-30 19:16:45 +00:00
parent 881c0c573f
commit a26962bf66

View File

@ -61,12 +61,12 @@
this.toolTip = ResourceUtil.getInstance().getString('bbb.highlighter.button.toolTipShow');
}
public function buttonAdded(buttonParent:PresentationWindow):void{
public function buttonAdded(buttonParent:PresentationWindow):void {
var e:WhiteboardButtonEvent = new WhiteboardButtonEvent(WhiteboardButtonEvent.WHITEBOARD_ADDED_TO_PRESENTATION);
e.window = buttonParent;
dispatchEvent(e);
buttonParent.addEventListener(KeyboardEvent.KEY_UP, checkWhiteboardKeyCombo);
// buttonParent.addEventListener(KeyboardEvent.KEY_UP, checkWhiteboardKeyCombo);
}
private function checkWhiteboardKeyCombo(e:KeyboardEvent):void{