Rename Box primitive to Quad

This commit is contained in:
Héctor Ramón Jiménez 2019-10-07 02:17:40 +02:00
parent 5286ef36b6
commit 70c17b053b
3 changed files with 4 additions and 4 deletions

View file

@ -20,7 +20,7 @@ impl button::Renderer for Renderer {
) -> Self::Primitive {
Primitive::Group {
primitives: vec![
Primitive::Box {
Primitive::Quad {
bounds: layout.bounds(),
background: Background::Color(Color {
r: 0.0,