mirror of
https://github.com/emilk/egui.git
synced 2026-06-27 07:03:14 -04:00
Deprecate Painter::set_fade_to_color
This commit is contained in:
@@ -83,6 +83,7 @@ impl Painter {
|
||||
}
|
||||
|
||||
/// If set, colors will be modified to look like this
|
||||
#[deprecated = "Use `multiply_opacity` instead"]
|
||||
pub fn set_fade_to_color(&mut self, fade_to_color: Option<Color32>) {
|
||||
self.fade_to_color = fade_to_color;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user