-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Implement serialize and deserialize for some UI types #10044
Implement serialize and deserialize for some UI types #10044
Conversation
Welcome, new contributor! Please make sure you've read our contributing guide and we look forward to reviewing your pull request shortly ✨ |
A bit annoying that serde isn't feature-flagged in bevy_ui, but that can wait for a different PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very simple changes, can make our lives easier going forward, so I approve!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine, no reason not to do this.
# Objective - Add serde Deserialize and Serialize for structs that doesn't implement it, even if they could benefit from it ## Solution - Derive these traits for the structs Style, BackgroundColor, BorderColor and Outline. ---
# Objective - Add serde Deserialize and Serialize for structs that doesn't implement it, even if they could benefit from it ## Solution - Derive these traits for the structs Style, BackgroundColor, BorderColor and Outline. ---
# Objective - Add serde Deserialize and Serialize for structs that doesn't implement it, even if they could benefit from it ## Solution - Derive these traits for the structs Style, BackgroundColor, BorderColor and Outline. ---
Objective
Solution