Skip to content
This repository was archived by the owner on Sep 6, 2023. It is now read-only.

Outdated information in Interaction guide #39

Open
luxaritas opened this issue Jan 6, 2023 · 2 comments
Open

Outdated information in Interaction guide #39

luxaritas opened this issue Jan 6, 2023 · 2 comments

Comments

@luxaritas
Copy link

I noticed a couple of issues on https://pixijs.io/guides/basics/interaction.html I may be able to submit a PR to improve this at some point, but wanted to at least make a note:

  • Code examples still use Interaction, not EventSystem
  • The section on pointer events suggests using non-pointer events "to support different modes of operation based on input type or to support multi-touch interaction". Pointer events should allow for both use cases, via pointerType and pointerId, respectively.
  • The caveats about not supporting bubbling and capturing are no longer accurate (thanks to EventSystem)
@bigtimebuddy
Copy link
Member

PR would be awesome! Thanks for pointing this out.

@dreadwail
Copy link

@luxaritas Another thing I noticed from that page that maybe you'd want to include a fix for in your PR: The buttonMode property is in the code examples despite having been removed in v7.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants