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:
Nathan Sobo 2023-08-12 10:40:23 -06:00
parent 1911f537b4
commit 84dc4090bd
13 changed files with 205 additions and 36 deletions

View file

@ -153,7 +153,7 @@ impl LayoutRect {
bounds: RectF::new(position, size),
background: Some(self.color),
border: Default::default(),
corner_radius: 0.,
corner_radii: Default::default(),
})
}
}
@ -763,7 +763,7 @@ impl Element<TerminalView> for TerminalElement {
bounds: RectF::new(bounds.origin(), bounds.size()),
background: Some(layout.background_color),
border: Default::default(),
corner_radius: 0.,
corner_radii: Default::default(),
});
for rect in &layout.rects {