diff options
author | 2024-01-20 12:11:18 +0100 | |
---|---|---|
committer | 2024-01-20 12:11:18 +0100 | |
commit | b7b457a575cdd103915994f640c50262ce30a7c5 (patch) | |
tree | c8b910de89e2e723051dc8058f796ec022026a49 /core/src/shadow.rs | |
parent | 83902921a3065e8dadfaca23c2e03dd770d93780 (diff) | |
download | iced-b7b457a575cdd103915994f640c50262ce30a7c5.tar.gz iced-b7b457a575cdd103915994f640c50262ce30a7c5.tar.bz2 iced-b7b457a575cdd103915994f640c50262ce30a7c5.zip |
Make `shadow` optional in `renderer::Quad`
Diffstat (limited to 'core/src/shadow.rs')
-rw-r--r-- | core/src/shadow.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/shadow.rs b/core/src/shadow.rs index 238ea36a..de8ce1c3 100644 --- a/core/src/shadow.rs +++ b/core/src/shadow.rs @@ -2,7 +2,7 @@ use crate::{Color, Vector}; /// A shadow -#[derive(Debug, Clone, Copy, PartialEq, Default)] +#[derive(Debug, Clone, Copy, PartialEq)] pub struct Shadow { /// The color of the shadow pub color: Color, @@ -10,6 +10,6 @@ pub struct Shadow { /// The offset of the shadow pub offset: Vector, - /// The blur_radius of the shadow + /// The blur radius of the shadow pub blur_radius: f32, } |