Fabric: Removing applying zIndex to layout.zIndex on iOS mounting layer

Summary:
Now we have `zIndex` feature implemented in the Core, we don't need to have it implemented on the mounting layer.

Changelog: [Internal] Fabric-specific internal change.

Reviewed By: sammy-SC

Differential Revision: D20432156

fbshipit-source-id: f77b96919bab21b6628472b9fe58c5f4e3233318
This commit is contained in:
Valentin Shergin authored and Facebook GitHub Bot committed 2020-03-15 20:52:12 -07:00
1 parent 14a174c237
commit efa74c4c23
1 file changed
-5
@@ -188,11 +188,6 @@ using namespace facebook::react;
needsInvalidateLayer = YES;
}
// `zIndex`
if (oldViewProps.zIndex != newViewProps.zIndex) {
self.layer.zPosition = (CGFloat)newViewProps.zIndex;
}
// `border`
if (oldViewProps.borderStyles != newViewProps.borderStyles || oldViewProps.borderRadii != newViewProps.borderRadii ||
oldViewProps.borderColors != newViewProps.borderColors) {