Adjust pulsating animation ranges (#16179)

Danilo Leal created

Just a fine-grain refinement to the pulsating animation range.

Release Notes:

- N/A

Change summary

crates/assistant/src/assistant_panel.rs   | 6 +++---
crates/ui/src/components/stories/label.rs | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)

Detailed changes

crates/assistant/src/assistant_panel.rs 🔗

@@ -1465,7 +1465,7 @@ impl WorkflowStepStatus {
                     ("resolving-suggestion-animation", id),
                     Animation::new(Duration::from_secs(2))
                         .repeat()
-                        .with_easing(pulsating_between(0.2, 1.0)),
+                        .with_easing(pulsating_between(0.4, 0.8)),
                     |label, delta| label.alpha(delta),
                 )
                 .into_any_element(),
@@ -1552,7 +1552,7 @@ impl WorkflowStepStatus {
                             ("applying-step-transformation-label", id),
                             Animation::new(Duration::from_secs(2))
                                 .repeat()
-                                .with_easing(pulsating_between(0.2, 1.0)),
+                                .with_easing(pulsating_between(0.4, 0.8)),
                             |label, delta| label.alpha(delta),
                         ),
                 )
@@ -3005,7 +3005,7 @@ impl ContextEditor {
                                                 "pulsating-label",
                                                 Animation::new(Duration::from_secs(2))
                                                     .repeat()
-                                                    .with_easing(pulsating_between(0.2, 1.0)),
+                                                    .with_easing(pulsating_between(0.4, 0.8)),
                                                 |label, delta| label.alpha(delta),
                                             )
                                             .into_any_element()

crates/ui/src/components/stories/label.rs 🔗

@@ -30,7 +30,7 @@ impl Render for LabelStory {
                     "pulsating-label",
                     Animation::new(Duration::from_secs(2))
                         .repeat()
-                        .with_easing(pulsating_between(0.2, 1.0)),
+                        .with_easing(pulsating_between(0.4, 0.8)),
                     |label, delta| label.alpha(delta),
                 ),
             )