fix: backgroundGradient fix with android BorderDrawable

This commit is contained in:
Martin Guillon
2021-08-18 17:37:44 +02:00
parent 453ea18dc6
commit 41ce3152b6

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);
}
}