未验证 提交 53f620f4 编写于 作者: C Chris Yang 提交者: GitHub

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

上级 a1faebb8
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册