Skip to content

Commit

Permalink
fix off color interpolation
Browse files Browse the repository at this point in the history
cpp was not clamping correctly color value interpolations. In certain scenarios, if lerping were negative, it would offset the color incorrectly.
the dart runtime doesn't need this fix, because the Color class does it internally.
This PR copies how dart clamps its colors.

Diffs=
d563202b4 fix off color interpolation (#6375)
  • Loading branch information
bodymovin committed Dec 19, 2023
1 parent b3d16a9 commit f9e29e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .rive_head
Original file line number Diff line number Diff line change
@@ -1 +1 @@
fbb092d8c71e2854102a30cdec6e0a57ad10a3ba
d563202b4e186bc89fb6ef6ee55bceabac18e307
2 changes: 1 addition & 1 deletion submodules/rive-cpp

0 comments on commit f9e29e2

Please sign in to comment.