From d996ff5bfa4241bb8fdc39c565ad9d4c60fb7e3b Mon Sep 17 00:00:00 2001 From: YgorSouza <43298013+YgorSouza@users.noreply.github.com> Date: Thu, 16 Nov 2023 20:18:29 +0100 Subject: [PATCH] Add inline Co-authored-by: Emil Ernerfeldt --- crates/egui/src/widgets/progress_bar.rs | 1 + 1 file changed, 1 insertion(+) 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