Skip to content

Commit

Permalink
Reduce the number of GradientSpans
Browse files Browse the repository at this point in the history
Add borders to the GradientSpan geometry. This allows us to reduce the span count for simple gradients from 2 to 1, and to reduce the span count for complex gradient by 2.

Also add some gm testing for color ramps that only have 1 stop to make sure it doesn't break.

Diffs=
8e792d564f Reduce the number of GradientSpans (#8847)
  • Loading branch information
csmartdalton committed Jan 10, 2025
1 parent 314494c commit e7f5e7e
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 @@
2db9a9bd5cd46ef0e24a109ebe718abd382d6466
8e792d564f1db25480447ccc02192692f1494533

0 comments on commit e7f5e7e

Please sign in to comment.