mirror of
https://github.com/wassname/phaser.git
synced 2026-07-21 12:40:56 +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:
@@ -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