Allow specific border width styling
Summary: ahmedre, is this in accordance to what you mentioned in comment https://github.com/facebook/react-native/issues/11042#issuecomment-269892926 ? fixes #11042 NO TEST PLAN AS OF YET! NOT READY. I am going to attempt to show this in my current application today. Closes https://github.com/facebook/react-native/pull/11706 Differential Revision: D4494439 Pulled By: mkonicek fbshipit-source-id: 2e1ee4c4a8347ddb29ee28bafe5ca5f7b6c04317
This commit is contained in:
parent
ccc56bba8f
commit
a57ddd5d72
|
@ -102,7 +102,7 @@ public class ReactViewBackgroundDrawable extends Drawable {
|
|||
boolean roundedBorders = mBorderCornerRadii != null ||
|
||||
(!YogaConstants.isUndefined(mBorderRadius) && mBorderRadius > 0);
|
||||
|
||||
if ((mBorderStyle == null || mBorderStyle == BorderStyle.SOLID) && !roundedBorders) {
|
||||
if (!roundedBorders) {
|
||||
drawRectangularBackgroundWithBorders(canvas);
|
||||
} else {
|
||||
drawRoundedBackgroundWithBorders(canvas);
|
||||
|
|
Loading…
Reference in New Issue