diff --git a/crates/egui/src/widgets/progress_bar.rs b/crates/egui/src/widgets/progress_bar.rs index 73518f14643..e8ae467c1ec 100644 --- a/crates/egui/src/widgets/progress_bar.rs +++ b/crates/egui/src/widgets/progress_bar.rs @@ -86,6 +86,7 @@ impl ProgressBar { /// If [`Self::rounding`] and [`Self::animate`] are used simultaneously, the animation is not /// rendered, since it requires a perfect circle to render correctly. However, the UI is still /// redrawn. + #[inline] pub fn rounding(mut self, rounding: impl Into) -> Self { self.rounding = Some(rounding.into()); self