Adjust pulsating animation ranges (#16179)

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

Release Notes:

- N/A
This commit is contained in:
Danilo Leal 2024-08-13 17:31:10 -03:00 committed by GitHub
parent 170ad46f5e
commit 2f5031bd28
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -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()

View File

@ -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),
),
)