Skip to content

Commit f7df812

Browse files
authored
1 parent 850c4ad commit f7df812

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎shell/platform/darwin/ios/framework/Source/FlutterPlatformViews.mm‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -800,6 +800,7 @@ static bool ClipBoundsContainsPlatformViewBoundingRect(const SkRect& clip_bounds
800800
return layer;
801801
}
802802
SkCanvas* overlay_canvas = frame->SkiaCanvas();
803+
overlay_canvas->clipRect(rect);
803804
overlay_canvas->clear(SK_ColorTRANSPARENT);
804805
if (frame->GetDisplayListBuilder()) {
805806
slice->render_into(frame->GetDisplayListBuilder().get());

0 commit comments

Comments
 (0)