Rename mIsOverflowVisible to a more descriptive mClipToBounds

Summary: A simple refactoring diff that should make code a little easier to read. No functional changes.

Reviewed By: ahmedre

Differential Revision: D2867718
This commit is contained in:
Denis Koroskin
2016-01-28 15:12:09 -08:00
committed by Ahmed El-Helw
parent a52c89b01d
commit 74c72111f1
2 changed files with 5 additions and 5 deletions

View File

@@ -375,7 +375,7 @@ import com.facebook.react.uimanager.events.EventDispatcher;
node.collectState(this, left, top, right, bottom, clipLeft, clipTop, clipRight, clipBottom);
if (node.isOverflowVisible()) {
if (!node.clipToBounds()) {
clipLeft = parentClipLeft;
clipTop = parentClipTop;
clipRight = parentClipRight;