diff options
| author | 2023-11-08 19:12:53 -0800 | |
|---|---|---|
| committer | 2024-01-20 11:59:37 +0100 | |
| commit | cc906c83cdf896d94b7ccf91258466714be631f6 (patch) | |
| tree | ad873e88cb711d4f186cb0c83497329903c200c3 /widget/src/text | |
| parent | b3e3f6e3c9fc6879e6681810f54d7eaa7c0f3d30 (diff) | |
| download | iced-cc906c83cdf896d94b7ccf91258466714be631f6.tar.gz iced-cc906c83cdf896d94b7ccf91258466714be631f6.tar.bz2 iced-cc906c83cdf896d94b7ccf91258466714be631f6.zip | |
feat: quad shadows
Diffstat (limited to '')
| -rw-r--r-- | widget/src/text_editor.rs | 3 | ||||
| -rw-r--r-- | widget/src/text_input.rs | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/widget/src/text_editor.rs b/widget/src/text_editor.rs index 09a0cac0..3f3ccf72 100644 --- a/widget/src/text_editor.rs +++ b/widget/src/text_editor.rs @@ -470,6 +470,7 @@ where border_radius: appearance.border_radius, border_width: appearance.border_width, border_color: appearance.border_color, + shadow: Default::default(), }, appearance.background, ); @@ -511,6 +512,7 @@ where border_radius: 0.0.into(), border_width: 0.0, border_color: Color::TRANSPARENT, + shadow: Default::default(), }, theme.value_color(&self.style), ); @@ -526,6 +528,7 @@ where border_radius: 0.0.into(), border_width: 0.0, border_color: Color::TRANSPARENT, + shadow: Default::default(), }, theme.selection_color(&self.style), ); diff --git a/widget/src/text_input.rs b/widget/src/text_input.rs index c3dce8be..f8e6c7f8 100644 --- a/widget/src/text_input.rs +++ b/widget/src/text_input.rs @@ -1085,6 +1085,7 @@ pub fn draw<Renderer>( border_radius: appearance.border_radius, border_width: appearance.border_width, border_color: appearance.border_color, + shadow: Default::default(), }, appearance.background, ); @@ -1134,6 +1135,7 @@ pub fn draw<Renderer>( border_radius: 0.0.into(), border_width: 0.0, border_color: Color::TRANSPARENT, + shadow: Default::default(), }, theme.value_color(style), )) @@ -1175,6 +1177,7 @@ pub fn draw<Renderer>( border_radius: 0.0.into(), border_width: 0.0, border_color: Color::TRANSPARENT, + shadow: Default::default(), }, theme.selection_color(style), )), |
