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 to setMask to retain object chaining on warning. #25

Merged
merged 1 commit into from
Nov 15, 2016
Merged

Fix to setMask to retain object chaining on warning. #25

merged 1 commit into from
Nov 15, 2016

Conversation

probityrules
Copy link
Contributor

Currently the mask warning can indirectly break later DisplayObject references due to its return being undefined. This fix allows the object to be referenced in chaining and variable assignments even when the mask is not applied.

@bigtimebuddy
Copy link
Contributor

Nice, good find @probityrules!

@bigtimebuddy bigtimebuddy merged commit 1d2ea40 into pixijs-userland:master Nov 15, 2016
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