kopia lustrzana https://github.com/ryukoposting/Signal-Android
Enable dither on the gradient painter.
rodzic
5852a508aa
commit
458941f952
|
@ -165,7 +165,7 @@ final class GradientChatWallpaper implements ChatWallpaper, Parcelable {
|
||||||
private final float[] positions;
|
private final float[] positions;
|
||||||
|
|
||||||
private final Rect fillRect = new Rect();
|
private final Rect fillRect = new Rect();
|
||||||
private final Paint fillPaint = new Paint(Paint.ANTI_ALIAS_FLAG);
|
private final Paint fillPaint = new Paint(Paint.ANTI_ALIAS_FLAG | Paint.DITHER_FLAG);
|
||||||
|
|
||||||
private RotatableGradientDrawable(float degrees, int[] colors, @Nullable float[] positions) {
|
private RotatableGradientDrawable(float degrees, int[] colors, @Nullable float[] positions) {
|
||||||
this.degrees = degrees + 225f;
|
this.degrees = degrees + 225f;
|
||||||
|
|
Ładowanie…
Reference in New Issue