From f121944e7343e384fb4da75d2b03cff78b75dcf9 Mon Sep 17 00:00:00 2001 From: YgorSouza <43298013+YgorSouza@users.noreply.github.com> Date: Thu, 16 Nov 2023 20:18:10 +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 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