mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-29 21:49:33 +00:00
Adjust pulsating animation ranges (#16179)
Just a fine-grain refinement to the pulsating animation range. Release Notes: - N/A
This commit is contained in:
parent
170ad46f5e
commit
2f5031bd28
2 changed files with 4 additions and 4 deletions
|
@ -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()
|
||||
|
|
|
@ -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),
|
||||
),
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue