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

bevy_color: Add fluent methods to color types. #12075

Closed
viridia opened this issue Feb 24, 2024 · 0 comments · Fixed by #12099
Closed

bevy_color: Add fluent methods to color types. #12075

viridia opened this issue Feb 24, 2024 · 0 comments · Fixed by #12099
Labels
A-Rendering Drawing game state to the screen C-Usability A targeted quality-of-life change that makes Bevy easier to use
Milestone

Comments

@viridia
Copy link
Contributor

viridia commented Feb 24, 2024

Several people have requested "fluent" methods such as .with_red(). These should only exist in cases where they are cheap, in other words, no implicit conversions. There should be a .with_ method for each of the defined color channels (.with_alpha already exists.)

@viridia viridia added C-Feature A new feature, making something new possible S-Needs-Triage This issue needs to be labelled labels Feb 24, 2024
@alice-i-cecile alice-i-cecile added A-Rendering Drawing game state to the screen C-Usability A targeted quality-of-life change that makes Bevy easier to use and removed C-Feature A new feature, making something new possible S-Needs-Triage This issue needs to be labelled labels Feb 24, 2024
@alice-i-cecile alice-i-cecile added this to the 0.14 milestone Feb 24, 2024
viridia added a commit to viridia/bevy that referenced this issue Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen C-Usability A targeted quality-of-life change that makes Bevy easier to use
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants