We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
new Sprite(null)
When invoking new Sprite(null), there is an error that occurs because the sprite assumes that options can be deconstructed.
options
A blank sprite should be produced
pixi.js
No response
The text was updated successfully, but these errors were encountered:
thanks for posting, does new Sprite() work?
new Sprite()
Sorry, something went wrong.
Hey @adam-savard , just did a quick check:
new Sprite() works ok.
I would say new Sprite(null) is akin to passing in bad constructor data, so will not class this one as a bug.
Closing for now, but happy to discuss!
No branches or pull requests
Current Behavior
When invoking
new Sprite(null)
, there is an error that occurs because the sprite assumes thatoptions
can be deconstructed.Expected Behavior
A blank sprite should be produced
Steps to Reproduce
new Sprite(null)
Environment
pixi.js
version: 8.0.4Possible Solution
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: