diff options
author | 2024-01-20 12:25:07 +0100 | |
---|---|---|
committer | 2024-01-20 12:25:07 +0100 | |
commit | 370b2f6df799c948188d3949e34112258b2a8498 (patch) | |
tree | 925d98d94be0e82c34377a7e3f697eafc8d095a2 /examples/modal | |
parent | b7b457a575cdd103915994f640c50262ce30a7c5 (diff) | |
download | iced-370b2f6df799c948188d3949e34112258b2a8498.tar.gz iced-370b2f6df799c948188d3949e34112258b2a8498.tar.bz2 iced-370b2f6df799c948188d3949e34112258b2a8498.zip |
Use `Default` implementation of `renderer::Quad`
Diffstat (limited to 'examples/modal')
-rw-r--r-- | examples/modal/src/main.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/modal/src/main.rs b/examples/modal/src/main.rs index 531a19b5..59287c06 100644 --- a/examples/modal/src/main.rs +++ b/examples/modal/src/main.rs @@ -475,9 +475,7 @@ mod modal { renderer::Quad { bounds: layout.bounds(), border_radius: BorderRadius::default(), - border_width: 0.0, - border_color: Color::TRANSPARENT, - shadow: Default::default(), + ..renderer::Quad::default() }, Color { a: 0.80, |