fix: backgroundGradient fix with android BorderDrawable

This commit is contained in:
Martin Guillon
2021-08-18 17:37:44 +02:00
committed by Nathan Walker
parent f554b796ef
commit 6d18915c22

View File

@ -482,6 +482,7 @@ public class BorderDrawable extends ColorDrawable implements BitmapOwner {
if (this.clipPath != null && !this.clipPath.isEmpty()) {
drawClipPath(this.clipPath, canvas, backgroundGradientPaint, backgroundBoundsF, this.density);
} else {
generateBackgroundPath(bounds);
canvas.drawPath(backgroundPath, backgroundGradientPaint);
}
}