mirror of
https://github.com/status-im/react-native.git
synced 2025-02-11 17:07:09 +00:00
Fix RTCText incorrectly clipping its background
Summary: Wrong order or top/right -> right/top means that clipping can be incorrect. I didn't notice it because visual result in many cases would still be the same (especially with overflow: visible being default and clipping being mostly disabled). Also only background was clipped incorrectly, and most texts don't have a background. Reviewed By: ahmedre Differential Revision: D2816432
This commit is contained in:
parent
03637dc70d
commit
c43d8409c0
@ -157,8 +157,8 @@ import com.facebook.react.uimanager.ViewProps;
|
|||||||
right,
|
right,
|
||||||
bottom,
|
bottom,
|
||||||
clipLeft,
|
clipLeft,
|
||||||
clipRight,
|
|
||||||
clipTop,
|
clipTop,
|
||||||
|
clipRight,
|
||||||
clipBottom);
|
clipBottom);
|
||||||
|
|
||||||
if (mText == null) {
|
if (mText == null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user