Skip to content

Commit c65d298

Browse files
author
philter
committed
Foreground fill fix
This fixes a bug where a layout that doesn't already have a background fill/stroke wouldn't render an added foreground fill/stroke. The root cause was that LayoutComponent only checked its own shape paints before making a render path. Now we check both its shape paints and its ForegroundDrawable's shape paints. In addition, this PR make sure to update the foreground shape paint's opacity and blend modes using that of the layout component. **Before Fix:** https://github.com/user-attachments/assets/6564d048-3c52-4cc4-9054-dbde04c52369 **After Fix:** https://github.com/user-attachments/assets/8575aa8a-3c8b-4595-aea7-0452ae170bc0 Diffs= 697637dd27 Foreground fill fix (#8991) 899ce7e893 add boolean negate converter (#8992)
1 parent 813adf5 commit c65d298

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.rive_head

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a224ede43ea941cf82dea23bcc908eaa697318a0
1+
697637dd27a5dfb90c8c4330f07cfecb13c29e63

0 commit comments

Comments
 (0)