Closed Aiving closed 1 month ago
The current implementation of AnimColor returns (and animates) only RGB when calling as_string, even if in origin or destination properties the alpha channel value is not 255.
AnimColor
as_string
origin
destination
alpha
https://github.com/marc2332/freya/blob/1955629e6c355ff74415037e44869026da8aec89/crates/hooks/src/use_animation.rs#L180-L187
Very good point. I'll improve this asap!
Just opened https://github.com/marc2332/freya/pull/771
The current implementation of
AnimColor
returns (and animates) only RGB when callingas_string
, even if inorigin
ordestination
properties thealpha
channel value is not 255.https://github.com/marc2332/freya/blob/1955629e6c355ff74415037e44869026da8aec89/crates/hooks/src/use_animation.rs#L180-L187