add motion to progress
This commit is contained in:
@@ -97,7 +97,9 @@ impl RenderOnce for Progress {
|
||||
.bg(ramps.primary.base)
|
||||
.with_animation(
|
||||
"indeterminate",
|
||||
Animation::new(Duration::from_millis(1500)).repeat(),
|
||||
Animation::new(Duration::from_millis(1500))
|
||||
.repeat()
|
||||
.with_max_fps(30.),
|
||||
|pill, delta| pill.ml(relative(delta * 0.7)),
|
||||
)
|
||||
.into_any_element()
|
||||
|
||||
Reference in New Issue
Block a user