Repository navigation
Commit 9cf4b32
committed
Refactor reverseCurve handling in Hero animations
- Updated the logic for the `reverseCurve` property in the Hero widget to simplify the assignment, ensuring that the flipped curve is applied only when necessary.
- Adjusted related test cases to reflect the new handling of `reverseCurve`, maintaining consistency in animation behavior.1 parent 6a568d5 commit 9cf4b32
2 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
480 | | - | |
| 480 | + | |
481 | 481 | | |
482 | 482 | | |
483 | 483 | | |
484 | | - | |
| 484 | + | |
485 | 485 | | |
486 | 486 | | |
487 | 487 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3312 | 3312 | | |
3313 | 3313 | | |
3314 | 3314 | | |
3315 | | - | |
| 3315 | + | |
3316 | 3316 | | |
3317 | 3317 | | |
3318 | 3318 | | |
| |||
3333 | 3333 | | |
3334 | 3334 | | |
3335 | 3335 | | |
3336 | | - | |
| 3336 | + | |
3337 | 3337 | | |
3338 | 3338 | | |
3339 | 3339 | | |
| |||
0 commit comments