From fd9c3055c6adcf653f561cecf2b1afffb942253d Mon Sep 17 00:00:00 2001 From: endless7 Date: Fri, 28 Oct 2022 16:36:51 +0800 Subject: [PATCH] save --- .../platform/darwin/ios/framework/Source/FlutterPlatformViews.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/shell/platform/darwin/ios/framework/Source/FlutterPlatformViews.mm b/shell/platform/darwin/ios/framework/Source/FlutterPlatformViews.mm index 00d8324d11b55..f30e921d20fc5 100644 --- a/shell/platform/darwin/ios/framework/Source/FlutterPlatformViews.mm +++ b/shell/platform/darwin/ios/framework/Source/FlutterPlatformViews.mm @@ -737,6 +737,7 @@ - (BOOL)flt_hasFirstResponderInViewHierarchySubtree { return layer; } SkCanvas* overlay_canvas = frame->SkiaCanvas(); + overlay_canvas->clipRect(rect); overlay_canvas->clear(SK_ColorTRANSPARENT); if (frame->GetDisplayListBuilder()) { slice->render_into(frame->GetDisplayListBuilder().get());