summaryrefslogtreecommitdiffstats
path: root/widget/src/progress_bar.rs
diff options
context:
space:
mode:
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 f945a7b5..7b0ea63f 100644
--- a/widget/src/progress_bar.rs
+++ b/widget/src/progress_bar.rs
@@ -134,7 +134,7 @@ where
width: active_progress_width,
..bounds
},
- border: Border::with_radius(appearance.border.radius),
+ border: Border::rounded(appearance.border.radius),
..renderer::Quad::default()
},
appearance.bar,
@@ -230,6 +230,6 @@ fn styled(
Appearance {
background: background.into(),
bar: bar.into(),
- border: Border::with_radius(2),
+ border: Border::rounded(2),
}
}