Wire up per corner radii for quad
Still need to expose this in the styling layer and allow images to have per corner radii.
This commit is contained in:
parent
1911f537b4
commit
84dc4090bd
13 changed files with 205 additions and 36 deletions
|
@ -837,7 +837,7 @@ impl ContactList {
|
|||
),
|
||||
background: Some(tree_branch.color),
|
||||
border: gpui::Border::default(),
|
||||
corner_radius: 0.,
|
||||
corner_radii: Default::default(),
|
||||
});
|
||||
scene.push_quad(gpui::Quad {
|
||||
bounds: RectF::from_points(
|
||||
|
@ -846,7 +846,7 @@ impl ContactList {
|
|||
),
|
||||
background: Some(tree_branch.color),
|
||||
border: gpui::Border::default(),
|
||||
corner_radius: 0.,
|
||||
corner_radii: Default::default(),
|
||||
});
|
||||
}))
|
||||
.constrained()
|
||||
|
@ -934,7 +934,7 @@ impl ContactList {
|
|||
),
|
||||
background: Some(tree_branch.color),
|
||||
border: gpui::Border::default(),
|
||||
corner_radius: 0.,
|
||||
corner_radii: Default::default(),
|
||||
});
|
||||
scene.push_quad(gpui::Quad {
|
||||
bounds: RectF::from_points(
|
||||
|
@ -943,7 +943,7 @@ impl ContactList {
|
|||
),
|
||||
background: Some(tree_branch.color),
|
||||
border: gpui::Border::default(),
|
||||
corner_radius: 0.,
|
||||
corner_radii: Default::default(),
|
||||
});
|
||||
}))
|
||||
.constrained()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue