Skip to content
This repository was archived by the owner on Jul 12, 2022. It is now read-only.

Commit 3279e14

Browse files
committed
Pass color filter setting to paints
1 parent 2bcc703 commit 3279e14

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

android-ui-toolkit/src/main/java/io/supernova/uitoolkit/drawable/LinearGradientDrawable.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ public void setAlpha(int alpha) {
8989

9090
@Override
9191
public void setColorFilter(@Nullable ColorFilter colorFilter) {
92-
92+
this.gradientPaint.setColorFilter(colorFilter);
93+
this.strokePaint.setColorFilter(colorFilter);
9394
}
9495

9596

0 commit comments

Comments
 (0)