[platform view] do not make clipping view and interceptor view clipToBounds (flutter/engine#9937)

This commit is contained in:
Chris Yang
2019-07-19 09:00:43 -07:00
committed by GitHub
parent 19ef9a58e7
commit bd2335aea6

View File

@@ -253,7 +253,6 @@ void FlutterPlatformViewsController::ApplyMutators(const MutatorsStack& mutators
UIView* embedded_view) {
FML_DCHECK(CATransform3DEqualToTransform(embedded_view.layer.transform, CATransform3DIdentity));
UIView* head = embedded_view;
head.clipsToBounds = YES;
ResetAnchor(head.layer);
std::vector<std::shared_ptr<Mutator>>::const_reverse_iterator iter = mutators_stack.Bottom();
@@ -273,7 +272,6 @@ void FlutterPlatformViewsController::ApplyMutators(const MutatorsStack& mutators
rect:(*iter)->GetRect()
rrect:(*iter)->GetRRect()
path:(*iter)->GetPath()];
head.clipsToBounds = YES;
ResetAnchor(clipView.layer);
head = clipView;
break;