mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 13:50:04 -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
|
/// 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>) {
|
pub fn set_fade_to_color(&mut self, fade_to_color: Option<Color32>) {
|
||||||
self.fade_to_color = fade_to_color;
|
self.fade_to_color = fade_to_color;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user