-
Notifications
You must be signed in to change notification settings - Fork 336
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
0.11 Migration: ImageBundle
and TextBundle
do not implement clone anymore
#699
Comments
nicopap
changed the title
0.11 migration:
0.11 Migration: Jul 10, 2023
ImageBundle
and TextBundle
do not implement clone anymoreImageBundle
and TextBundle
do not implement clone anymore
It comes from bevyengine/bevy#8402 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a major breaking change! It's not mentioned in the migration guide as far as I can see.
Workarounds
Wrap yourself the bundle type and implement
Clone
by skipping cloning theContentSize
field.Use a closure instead of
clone
Then becomes:
The text was updated successfully, but these errors were encountered: