Fabric: Fixed missing text on some views with borders
Summary: Apparently, after updating CALayer props we have to request redrowing on top of it manually. Reviewed By: mdvacca Differential Revision: D10053340 fbshipit-source-id: f87311399bab809c9e13a3076f526bbe3f7f3fb4
This commit is contained in:
parent
84fbad6215
commit
d517214dd4
|
@ -420,6 +420,10 @@ static RCTBorderStyle RCTBorderStyleFromBorderStyle(BorderStyle borderStyle) {
|
||||||
layer.cornerRadius = cornerRadius;
|
layer.cornerRadius = cornerRadius;
|
||||||
layer.mask = maskLayer;
|
layer.mask = maskLayer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// After updating `layer`'s parameters we have to redraw on top of it
|
||||||
|
// all custom content (calling `drawRect:` implemented in subclasses).
|
||||||
|
[layer setNeedsDisplay];
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma mark - Accessibility
|
#pragma mark - Accessibility
|
||||||
|
|
Loading…
Reference in New Issue