diff options
| author | 2024-03-07 23:39:19 +0100 | |
|---|---|---|
| committer | 2024-03-07 23:39:19 +0100 | |
| commit | 8fe7f9e4354fb46144b6dc459f1205fc87616259 (patch) | |
| tree | d7fdbbf401fb2cd93e356effded4f87b4627cd96 /widget | |
| parent | 1f46fd871b04ba738e3817d03131bf5ce46f5e46 (diff) | |
| download | iced-8fe7f9e4354fb46144b6dc459f1205fc87616259.tar.gz iced-8fe7f9e4354fb46144b6dc459f1205fc87616259.tar.bz2 iced-8fe7f9e4354fb46144b6dc459f1205fc87616259.zip | |
Remove obsolete `shadow_offset` field from `button::Appearance`
Diffstat (limited to '')
| -rw-r--r-- | widget/src/button.rs | 3 | 
1 files changed, 0 insertions, 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<Background>,      /// 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(), | 
