Replies: 1 comment 1 reply
-
oops, you're right, it shouldn't be. At one point it inherited the prop types of the Sprite component, so it must have been left over from that. I'll push a quick fix for it. edit: fixed in 0.1.2 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a reason that the 'texture' property is mandatory on the AnimatedSprite component? In your example here it isn't used, only 'textures'. My code seems to be working without it as well, i'm just getting a typescript error in vscode due to it.
I'm happy to submit a pull request to add the single '?' if that is what is wanted.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions