-
-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix wrong order of lerp when parsing of color stops (#324)
The `_getColorInBetweenColorStops` interpolated between color stops with the order of stops inverted between the two it should interpolate with (comparing with `_getColorInBetweenOpacityStops` confirms this as well). This means that if there is more than two stops in the gradient, the second color in the gradient never appears and the third one takes its place, and the colors are on the wrong stop after that.
- Loading branch information
Showing
10 changed files
with
679 additions
and
1 deletion.
There are no files selected for viewing
678 changes: 678 additions & 0 deletions
678
example/assets/Tests/Gradients.color_opacity.changes.multiple.stops.countfirst.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+27.7 KB
...goldens/all/Tests/gradients.color_opacity.changes.multiple.stops.countfirst.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-18 Bytes
(100%)
test/goldens/all/lottiefiles/fabulous_onboarding_animation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.