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:
Denis Koroskin 2016-02-10 11:15:31 -08:00 committed by Ahmed El-Helw
parent 0b6436b637
commit 44c814c94d
1 changed files with 0 additions and 1 deletions

View File

@ -204,7 +204,6 @@ import com.facebook.csslayout.Spacing;
if (mBackgroundColor != 0) {
PAINT.setColor(mBackgroundColor);
canvas.drawPath(getPathForBorderRadius(), PAINT);
return;
}
drawBorders(canvas);