1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-27 23:13:13 -04:00

Remove deprecated functions (#3692)

This commit is contained in:
Emil Ernerfeldt
2023-12-08 11:02:57 +01:00
committed by GitHub
parent b1721a3ce7
commit 8d4de866d4
20 changed files with 4 additions and 192 deletions

View File

@@ -574,20 +574,6 @@ impl Polygon {
self
}
#[deprecated = "Use `fill_color`."]
#[allow(unused, clippy::needless_pass_by_value)]
#[inline]
pub fn color(mut self, color: impl Into<Color32>) -> Self {
self
}
#[deprecated = "Use `fill_color`."]
#[allow(unused, clippy::needless_pass_by_value)]
#[inline]
pub fn fill_alpha(mut self, _alpha: impl Into<f32>) -> Self {
self
}
/// Fill color. Defaults to the stroke color with added transparency.
#[inline]
pub fn fill_color(mut self, color: impl Into<Color32>) -> Self {