summaryrefslogtreecommitdiffstats
path: root/widget/src/progress_bar.rs
diff options
context:
space:
mode:
authorLibravatar Casper Storm <casper.storm@lich.io>2023-05-23 15:28:45 +0200
committerLibravatar Casper Storm <casper.storm@lich.io>2023-05-23 15:28:45 +0200
commit1234d528121265698f9f426ca89fc687dc95dc01 (patch)
tree6e33acf061bdb57c6f27724e4fba339660903081 /widget/src/progress_bar.rs
parent1c86defab5f5491b5f6b6e45faabf1b91ed195a3 (diff)
downloadiced-1234d528121265698f9f426ca89fc687dc95dc01.tar.gz
iced-1234d528121265698f9f426ca89fc687dc95dc01.tar.bz2
iced-1234d528121265698f9f426ca89fc687dc95dc01.zip
clippy
Diffstat (limited to 'widget/src/progress_bar.rs')
-rw-r--r--widget/src/progress_bar.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/widget/src/progress_bar.rs b/widget/src/progress_bar.rs
index ef0d87d5..9e1e9131 100644
--- a/widget/src/progress_bar.rs
+++ b/widget/src/progress_bar.rs
@@ -133,7 +133,7 @@ where
renderer.fill_quad(
renderer::Quad {
bounds: Rectangle { ..bounds },
- border_radius: style.border_radius.into(),
+ border_radius: style.border_radius,
border_width: 0.0,
border_color: Color::TRANSPARENT,
},
@@ -147,7 +147,7 @@ where
width: active_progress_width,
..bounds
},
- border_radius: style.border_radius.into(),
+ border_radius: style.border_radius,
border_width: 0.0,
border_color: Color::TRANSPARENT,
},