From bd2335aea64e53f333b33b092394727d5795b21f Mon Sep 17 00:00:00 2001 From: Chris Yang Date: Fri, 19 Jul 2019 09:00:43 -0700 Subject: [PATCH] [platform view] do not make clipping view and interceptor view clipToBounds (flutter/engine#9937) --- .../darwin/ios/framework/Source/FlutterPlatformViews.mm | 2 -- 1 file changed, 2 deletions(-) diff --git a/engine/src/flutter/shell/platform/darwin/ios/framework/Source/FlutterPlatformViews.mm b/engine/src/flutter/shell/platform/darwin/ios/framework/Source/FlutterPlatformViews.mm index c40d645600..9b85902ce8 100644 --- a/engine/src/flutter/shell/platform/darwin/ios/framework/Source/FlutterPlatformViews.mm +++ b/engine/src/flutter/shell/platform/darwin/ios/framework/Source/FlutterPlatformViews.mm @@ -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>::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;