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

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