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

Bug: v8 mask container bounds changes #10418

Open
Unwarped opened this issue Apr 5, 2024 · 0 comments
Open

Bug: v8 mask container bounds changes #10418

Unwarped opened this issue Apr 5, 2024 · 0 comments
Assignees

Comments

@Unwarped
Copy link

Unwarped commented Apr 5, 2024

Current Behavior

I am using a mask on a scrolling container with text and sprites. I started getting warnings about adding the mask to the root container. The bounds I used to determine the container size and scroll its position based on its size seems to be have changed.

Expected Behavior

In v7 it would tell you the entire bounds of the container

Steps to Reproduce

Apply a mask to a container

Environment

  • pixi.js version: e.g. 8.0.5

Possible Solution

Checking the container bounds before applying the mask as a potential workaround

Additional Information

Doormat23 asked me to open an issue for this!

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

No branches or pull requests

2 participants