bevy icon indicating copy to clipboard operation
bevy copied to clipboard

Color's Add and AddAssign impls add RGBA values to HSLA

Open Gyrobifastigium opened this issue 3 years ago • 0 comments

https://github.com/bevyengine/bevy/blob/f3b5bf029c54a1abfb39014104a14dde24a4c2ce/crates/bevy_render/src/color/mod.rs#L662 https://github.com/bevyengine/bevy/blob/f3b5bf029c54a1abfb39014104a14dde24a4c2ce/crates/bevy_render/src/color/mod.rs#L711

These lines should probably be let rhs = rhs.as_hsla_f32() instead.

Gyrobifastigium avatar Aug 01 '22 22:08 Gyrobifastigium