mirror of
https://github.com/wassname/phaser.git
synced 2026-07-23 13:00:41 +08:00
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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user