File tree 2 files changed +2
-2
lines changed
port/platform/flash_player
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ class Event
105
105
/**
106
106
* Wheter this event has already been dispatched
107
107
*/
108
- public var dispatched : Bool ;
108
+ public var dispatched : Bool = false ;
109
109
110
110
/**
111
111
* class constructor
Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ class MouseListener extends MouseListenerBase
195
195
var mouseEvent : MouseEvent = new MouseEvent ();
196
196
197
197
var localPoint : Point = new Point (typedEvent .localX , typedEvent .localY );
198
- localPoint = _platform .convertToHitTestingSpriteSpace (localPoint , event .target , _platform .hitTestingSprite );
198
+ localPoint = _platform .convertToHitTestingSpriteSpace (localPoint , event .get_target () , _platform .hitTestingSprite );
199
199
200
200
// use local x and y for mouse event, as they should be relative to hit testing sprite which represents
201
201
// the viewport of the document
You can’t perform that action at this time.
0 commit comments