Merge pull request #164 from nathan/drag-by-title

Made dialogs draggable by their titles
This commit is contained in:
Shane M. Clements 2014-05-14 13:14:43 -06:00
commit 84b3843ca1

View file

@ -389,7 +389,7 @@ private function getCheckMark(b:Boolean):Sprite{
stage.focus = labelsAndFields[focusIndex][1];
}
private function mouseDown(evt:MouseEvent):void {if (evt.target == this) startDrag();}
private function mouseDown(evt:MouseEvent):void {if (evt.target == this || evt.target == title) startDrag();}
private function mouseUp(evt:MouseEvent):void { stopDrag() }
private function keyDown(evt:KeyboardEvent):void {