[platform view] do not make clipping view and interceptor view clipToBounds (flutter/engine#9937)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user