mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-03 17:45:12 +08: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:
committed by
Ahmed El-Helw
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);
|
||||
|
||||
Reference in New Issue
Block a user