-
Notifications
You must be signed in to change notification settings - Fork 171
Closed
Description
The deprecation warning here seems to suggest that the .fade() method on Color has been superceded by itself?
raylib-rs/raylib/src/core/color.rs
Lines 146 to 151 in e95f0f2
| /// Color fade-in or fade-out, alpha goes from 0.0f to 1.0f | |
| #[inline] | |
| #[deprecated = "Has been superseded by .fade()"] | |
| pub fn fade(&self, alpha: f32) -> Color { | |
| unsafe { ffi::Fade(self.into(), alpha).into() } | |
| } |
As far as I can see in raylib I believe the existing pattern still makes sense, would it be possible to remove the deprecation warning?
Metadata
Metadata
Assignees
Labels
No labels