Use Default implementation of renderer::Quad
This commit is contained in:
parent
b7b457a575
commit
370b2f6df7
20 changed files with 63 additions and 116 deletions
|
|
@ -63,9 +63,7 @@ mod circle {
|
|||
renderer::Quad {
|
||||
bounds: layout.bounds(),
|
||||
border_radius: self.radius.into(),
|
||||
border_width: 0.0,
|
||||
border_color: Color::TRANSPARENT,
|
||||
shadow: Default::default(),
|
||||
..renderer::Quad::default()
|
||||
},
|
||||
Color::BLACK,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue