Use Default implementation of renderer::Quad
This commit is contained in:
parent
b7b457a575
commit
370b2f6df7
20 changed files with 63 additions and 116 deletions
|
|
@ -402,9 +402,7 @@ where
|
|||
..bounds
|
||||
},
|
||||
border_radius: styling.border_radius,
|
||||
border_width: 0.0,
|
||||
border_color: Color::TRANSPARENT,
|
||||
shadow: Default::default(),
|
||||
..renderer::Quad::default()
|
||||
},
|
||||
Background::Color([0.0, 0.0, 0.0, 0.5].into()),
|
||||
);
|
||||
|
|
@ -416,7 +414,7 @@ where
|
|||
border_radius: styling.border_radius,
|
||||
border_width: styling.border_width,
|
||||
border_color: styling.border_color,
|
||||
shadow: Default::default(),
|
||||
..renderer::Quad::default()
|
||||
},
|
||||
styling
|
||||
.background
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue