Use Default implementation of renderer::Quad

This commit is contained in:
Héctor Ramón Jiménez 2024-01-20 12:25:07 +01:00
parent b7b457a575
commit 370b2f6df7
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
20 changed files with 63 additions and 116 deletions

View file

@ -317,7 +317,7 @@ where
border_color: style
.background_border
.unwrap_or(style.background),
shadow: Default::default(),
..renderer::Quad::default()
},
style.background,
);
@ -342,7 +342,7 @@ where
border_color: style
.foreground_border
.unwrap_or(style.foreground),
shadow: Default::default(),
..renderer::Quad::default()
},
style.foreground,
);