mirror of
https://github.com/scratchfoundation/scratch-flash.git
synced 2024-12-04 21:21:06 -05:00
Merge pull request #164 from nathan/drag-by-title
Made dialogs draggable by their titles
This commit is contained in:
commit
84b3843ca1
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue