Skip to content

Commit

Permalink
EventSystem always fire a pointertap after click or touch (pixijs#8431)
Browse files Browse the repository at this point in the history
  • Loading branch information
miltoncandelero committed Jun 27, 2022
1 parent 9b724f2 commit 726cdaf
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/events/src/EventBoundary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -921,10 +921,8 @@ export class EventBoundary
{
this.dispatchEvent(clickEvent, 'tap');
}
else
{
this.dispatchEvent(clickEvent, 'pointertap');
}

this.dispatchEvent(clickEvent, 'pointertap');

this.freeEvent(clickEvent);
}
Expand Down

0 comments on commit 726cdaf

Please sign in to comment.