fn deselect(sprite: &mut Sprite, contributor: &Contributor, transform: &mut Transform) {
    sprite.color = Color::hsla(
        contributor.hue,
        SATURATION_DESELECTED,
        LIGHTNESS_DESELECTED,
        ALPHA,
    );

    transform.translation.z = 0.0;
}
/// Change the modulate color to the "deselected" colour and push
/// the object to the back.
Change the modulate color to the "deselected" colour and push
the object to the back.
Change the modulate color to the " deselected " colour and push the object to the back .
fn deselect(sprite: &mut Sprite, contributor: &Contributor, transform: &mut Transform) {
    sprite.color = Color::hsla(
        contributor.hue,
        SATURATION_DESELECTED,
        LIGHTNESS_DESELECTED,
        ALPHA,
    );
    transform.translation.z = 0.0;
}
fn deselect ( sprite : & mut Sprite , contributor : & Contributor , transform : & mut Transform ) { sprite . color = Color :: hsla ( contributor . hue , SATURATION_DESELECTED , LIGHTNESS_DESELECTED , ALPHA , ) ; transform . translation . z = 0.0 ; }
Change the modulate color to the "deselected" colour and push
the object to the back.
Change the modulate color to the " deselected " colour and push the object to the back .
sprite
&mut Sprite
contributor
&Contributor
transform
&mut Transform
sprite
&mut Sprite
contributor
&Contributor
transform
&mut Transform