mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 11:01:21 +08:00
fix: backgroundGradient fix with android BorderDrawable
This commit is contained in:
@ -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