Events.onInputUp would be dispatched twice if the Sprite had drag enabled, now only dispatched once (thanks Overbryd, fixes #502)

Changed webfont URI back to //
This commit is contained in:
photonstorm
2014-03-02 11:31:26 +00:00
parent 3794a846d4
commit 442e6bb776
4 changed files with 3 additions and 3 deletions
-1
View File
@@ -1118,7 +1118,6 @@ Phaser.InputHandler.prototype = {
}
this.sprite.events.onDragStop.dispatch(this.sprite, pointer);
this.sprite.events.onInputUp.dispatch(this.sprite, pointer);
if (this.checkPointerOver(pointer) === false)
{