File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
ReactAndroid/src/main/java/com/facebook/react/views/view Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,6 @@ var ViewBorderStyleExample = React.createClass({
45
45
< View >
46
46
< View style = { {
47
47
borderWidth : 1 ,
48
- borderRadius : 5 ,
49
48
borderStyle : this . state . showBorder ? 'dashed' : null ,
50
49
padding : 5
51
50
} } >
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ private static enum BorderStyle {
95
95
96
96
@ Override
97
97
public void draw (Canvas canvas ) {
98
- if ((!CSSConstants .isUndefined (mBorderRadius ) && mBorderRadius > 0 ) || mBorderCornerRadii != null ) {
98
+ if ((!CSSConstants .isUndefined (mBorderRadius ) && mBorderRadius > 0 ) || mBorderCornerRadii != null || mBorderStyle != null ) {
99
99
drawRoundedBackgroundWithBorders (canvas );
100
100
} else {
101
101
drawRectangularBackgroundWithBorders (canvas );
You can’t perform that action at this time.
0 commit comments