mirror of
https://github.com/wassname/phaser.git
synced 2026-07-25 13:20:14 +08:00
Fixed issue 141 - If a Sprite is dragged and you release the Pointer while not over the Sprite, it will think it's still over it (thanks Paratron)
This commit is contained in:
@@ -57,6 +57,7 @@ Version 1.1.2
|
||||
* Fixed issue 149 - Starling XML files now load properly again, also created an Example to show use of them (thanks haden)
|
||||
* Fixed an issue where if the Starling XML file didn't contain a frameX/Y value it would crash on import.
|
||||
* Fixed the Multiple Animations Example - it's now a lovely underwater scene :)
|
||||
* Fixed issue 141 - If a Sprite is dragged and you release the Pointer while not over the Sprite, it will think it's still over it (thanks Paratron)
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -945,6 +945,11 @@ Phaser.InputHandler.prototype = {
|
||||
this.sprite.events.onDragStop.dispatch(this.sprite, pointer);
|
||||
this.sprite.events.onInputUp.dispatch(this.sprite, pointer);
|
||||
|
||||
if (this.checkPointerOver(pointer) == false)
|
||||
{
|
||||
this._pointerOutHandler(pointer);
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user