summaryrefslogtreecommitdiffstats
path: root/core/src/shadow.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-01-20 12:11:18 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-01-20 12:11:18 +0100
commitb7b457a575cdd103915994f640c50262ce30a7c5 (patch)
treec8b910de89e2e723051dc8058f796ec022026a49 /core/src/shadow.rs
parent83902921a3065e8dadfaca23c2e03dd770d93780 (diff)
downloadiced-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.rs4
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,
}