Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check index before remove, check bbox exists in non-updating methods #28

Merged
merged 1 commit into from
Feb 5, 2022

Conversation

maxakuru
Copy link
Contributor

hey @davidfig - thanks for the lib!

this has a couple minor changes to Simple:

  • avoid splicing from the end of arrays when item doesn't exist
  • check object.AABB exists in queries, since it doesn't update the bbox.. I figure if it doesn't have it yet, it wouldn't be considered "visible"

@davidfig davidfig merged commit 09d1fb6 into pixi-viewport:master Feb 5, 2022
@davidfig
Copy link
Collaborator

davidfig commented Feb 5, 2022

Thanks! Published on npm as 2.2.0.

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

Successfully merging this pull request may close these issues.

2 participants