mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-07 17:37:34 +08:00
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:
committed by
Ahmed El-Helw
parent
a52c89b01d
commit
74c72111f1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user