Skip to content

fix: increase didViewChangeTick on removeChildren call #11245

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

Merged
merged 3 commits into from
Feb 11, 2025

Conversation

dapi303
Copy link
Contributor

@dapi303 dapi303 commented Jan 29, 2025

Description of change

When elements are removed from the container by the removeChildren function,
_didViewChangeTick should be updated to drop boundary cache on next call.

Pre-Merge Checklist
  • Tests and/or benchmarks are included
  • Lint process passed (npm run lint)
  • Tests passed (npm run test)

Copy link

codesandbox-ci bot commented Jan 29, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 3051e30:

Sandbox Source
pixi.js-sandbox Configuration

@dapi303 dapi303 marked this pull request as draft January 30, 2025 07:01
@dapi303 dapi303 marked this pull request as ready for review January 30, 2025 07:02
Copy link
Member

@GoodBoyDigital GoodBoyDigital left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice catch! appreciate the tests too 👍

@Zyie Zyie added the ✅ Ready To Merge Helpful when issues are in the queue waiting to get merged. This means the PR is completed and has t label Feb 11, 2025
@Zyie Zyie added this pull request to the merge queue Feb 11, 2025
Merged via the queue into pixijs:dev with commit 7f5e337 Feb 11, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✅ Ready To Merge Helpful when issues are in the queue waiting to get merged. This means the PR is completed and has t
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants