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:
Denis Koroskin 2016-01-11 20:03:23 -08:00 committed by Ahmed El-Helw
parent 03637dc70d
commit c43d8409c0

View File

@ -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) {