Use f32 for border_width and border_radius
This commit is contained in:
parent
ea1a7248d2
commit
f41eacc3dc
32 changed files with 134 additions and 134 deletions
|
|
@ -62,7 +62,7 @@ pub(crate) fn background(
|
|||
bounds: Rectangle,
|
||||
style: &container::Style,
|
||||
) -> Option<Primitive> {
|
||||
if style.background.is_some() || style.border_width > 0 {
|
||||
if style.background.is_some() || style.border_width > 0.0 {
|
||||
Some(Primitive::Quad {
|
||||
bounds,
|
||||
background: style
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue