Use smaller quads to draw borders
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
67f76468f1
commit
c03c0d50d5
3 changed files with 78 additions and 4 deletions
|
@ -3074,6 +3074,7 @@ impl From<(&'static str, u64)> for ElementId {
|
|||
}
|
||||
|
||||
/// A rectangle, to be rendered on the screen by GPUI at the given position and size.
|
||||
#[derive(Clone)]
|
||||
pub struct PaintQuad {
|
||||
bounds: Bounds<Pixels>,
|
||||
corner_radii: Corners<Pixels>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue