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…
Reference in New Issue