Skip to content

Commit

Permalink
Add inline
Browse files Browse the repository at this point in the history
Co-authored-by: Emil Ernerfeldt <[email protected]>
  • Loading branch information
YgorSouza and emilk authored Nov 16, 2023
1 parent 7afadf6 commit d996ff5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/egui/src/widgets/progress_bar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d996ff5

Please sign in to comment.