mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-14 01:43:14 +08:00
fix: backgroundGradient fix with android BorderDrawable
This commit is contained in:

committed by
Nathan Walker

parent
f554b796ef
commit
6d18915c22
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user