Remove redundant warnings for RCTMountingManager
Summary: Changelog: [internal] The warnings are in-actionable for product engineers. Reviewed By: JoshuaGross Differential Revision: D29911438 fbshipit-source-id: f0f81588e8cbe88059e531c8be302ab19b8eb83f
This commit is contained in:
Родитель
eb4297ee91
Коммит
c2ba8864f9
|
@ -290,11 +290,9 @@ static void RCTPerformMountInstructions(
|
|||
if (props[@"transform"] &&
|
||||
!CATransform3DEqualToTransform(
|
||||
RCTCATransform3DFromTransformMatrix(newViewProps.transform), componentView.layer.transform)) {
|
||||
RCTLogWarn(@"transform was not applied during [RCTViewComponentView updateProps:oldProps:]");
|
||||
componentView.layer.transform = RCTCATransform3DFromTransformMatrix(newViewProps.transform);
|
||||
}
|
||||
if (props[@"opacity"] && componentView.layer.opacity != (float)newViewProps.opacity) {
|
||||
RCTLogWarn(@"opacity was not applied during [RCTViewComponentView updateProps:oldProps:]");
|
||||
componentView.layer.opacity = newViewProps.opacity;
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче