From 8fe7f9e4354fb46144b6dc459f1205fc87616259 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Thu, 7 Mar 2024 23:39:19 +0100 Subject: Remove obsolete `shadow_offset` field from `button::Appearance` --- widget/src/button.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/widget/src/button.rs b/widget/src/button.rs index 4563f3f4..579ad434 100644 --- a/widget/src/button.rs +++ b/widget/src/button.rs @@ -399,8 +399,6 @@ pub enum Status { /// The appearance of a button. #[derive(Debug, Clone, Copy, PartialEq)] pub struct Appearance { - /// The amount of offset to apply to the shadow of the button. - pub shadow_offset: Vector, /// The [`Background`] of the button. pub background: Option, /// The text [`Color`] of the button. @@ -424,7 +422,6 @@ impl Appearance { impl std::default::Default for Appearance { fn default() -> Self { Self { - shadow_offset: Vector::default(), background: None, text_color: Color::BLACK, border: Border::default(), -- cgit