Implement additional helpers for Border and container::Appearance
This commit is contained in:
parent
b8f05eb8dd
commit
7ece5eea50
12 changed files with 71 additions and 35 deletions
|
|
@ -328,7 +328,7 @@ where
|
|||
width: bounds.width - dot_size,
|
||||
height: bounds.height - dot_size,
|
||||
},
|
||||
border: Border::with_radius(dot_size / 2.0),
|
||||
border: Border::rounded(dot_size / 2.0),
|
||||
..renderer::Quad::default()
|
||||
},
|
||||
appearance.dot_color,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue