summaryrefslogtreecommitdiffstats
path: root/graphics/src/widget/rule.rs
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/src/widget/rule.rs')
-rw-r--r--graphics/src/widget/rule.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/src/widget/rule.rs b/graphics/src/widget/rule.rs
index a7a5d0e7..835ebed8 100644
--- a/graphics/src/widget/rule.rs
+++ b/graphics/src/widget/rule.rs
@@ -43,7 +43,7 @@ where
},
background: Background::Color(style.color),
border_radius: style.radius,
- border_width: 0,
+ border_width: 0.0,
border_color: Color::TRANSPARENT,
}
} else {
@@ -63,7 +63,7 @@ where
},
background: Background::Color(style.color),
border_radius: style.radius,
- border_width: 0,
+ border_width: 0.0,
border_color: Color::TRANSPARENT,
}
};