mirror of
https://github.com/status-im/react-native.git
synced 2025-02-28 00:50:43 +00:00
Fix border not drawing when there is a background color set
Summary: There is a bug in border drawing code that will not draw the border if the element has a background color. This diff fixes it. Reviewed By: sriramramani Differential Revision: D2919549
This commit is contained in:
parent
0b6436b637
commit
44c814c94d
@ -204,7 +204,6 @@ import com.facebook.csslayout.Spacing;
|
||||
if (mBackgroundColor != 0) {
|
||||
PAINT.setColor(mBackgroundColor);
|
||||
canvas.drawPath(getPathForBorderRadius(), PAINT);
|
||||
return;
|
||||
}
|
||||
|
||||
drawBorders(canvas);
|
||||
|
Loading…
x
Reference in New Issue
Block a user