diff --git a/crates/egui/src/widgets/progress_bar.rs b/crates/egui/src/widgets/progress_bar.rs index 22eeeb722f0..0fe582c351e 100644 --- a/crates/egui/src/widgets/progress_bar.rs +++ b/crates/egui/src/widgets/progress_bar.rs @@ -70,6 +70,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 animate(mut self, animate: bool) -> Self { self.animate = animate; self