1
0
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:
Emil Ernerfeldt
2025-05-19 11:10:32 +02:00
parent 3a8bf682ac
commit 6cc0d10cf7

View File

@@ -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;
}