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

Fix: issue with local bounds cache not being invalidated when a child is removed #10488

Merged
merged 1 commit into from Apr 30, 2024

Conversation

GoodBoyDigital
Copy link
Member

@GoodBoyDigital GoodBoyDigital commented Apr 29, 2024

Description of change

When removing a child - the local bounds cache we not always being invalidated. This has now been addressed so that when removing / adding a child we explicitly invalidate the cache of the local bounds.

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

fixes #10451

Copy link

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 7d7e40d:

Sandbox Source
pixi.js-sandbox Configuration

@Zyie Zyie changed the title fix issue with local bounds cache not being invalidated when a child is removed Fix: issue with local bounds cache not being invalidated when a child is removed Apr 30, 2024
@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 Apr 30, 2024
@Zyie Zyie added this pull request to the merge queue Apr 30, 2024
Merged via the queue into dev with commit 0905750 Apr 30, 2024
4 checks passed
@Zyie Zyie deleted the bugfix/local-bounds-cache branch April 30, 2024 21:27
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.

Bug: getLocalBounds doesn't return correct values after removing a child
3 participants