trinoo Posted October 31, 2017 Share Posted October 31, 2017 According to the docs, pointertap event should occur when pointer device button is pressed and released on the display object. But it occurs also when I press device button down outside of the display object, then move still holding it pressed over the display object and release it. So, it acts like a pointerup event. Is it a bug, or am I doing (understanding) something wrong, or any workaround please? thanks Quote Link to comment Share on other sites More sharing options...
bubamara Posted November 1, 2017 Share Posted November 1, 2017 yes, it's a bug : https://github.com/pixijs/pixi.js/issues/4374 workaround : store object on which pointerdown was fired and compare it with object on which pointertap was fired. If they don't match, it wasn't real pointertap Quote Link to comment Share on other sites More sharing options...
trinoo Posted November 1, 2017 Author Share Posted November 1, 2017 Did not notice that, thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.