diff --git a/doric-iOS/Pod/Classes/Shader/DoricViewNode.m b/doric-iOS/Pod/Classes/Shader/DoricViewNode.m index f58d209d..ff47a550 100644 --- a/doric-iOS/Pod/Classes/Shader/DoricViewNode.m +++ b/doric-iOS/Pod/Classes/Shader/DoricViewNode.m @@ -173,6 +173,8 @@ - (void)transformProperties { transform3D = CATransform3DRotate(transform3D, (self.rotationY.floatValue ?: 0) * M_PI, 0, 1, 0); } if (!CATransform3DEqualToTransform(transform3D, self.view.layer.transform)) { + self.view.layer.shouldRasterize=TRUE; + self.view.layer.rasterizationScale=[[UIScreen mainScreen] scale]; self.view.layer.transform = transform3D; } } else {