From a23aa8df0fdfdd93a8e4e9fea81f196ca867d188 Mon Sep 17 00:00:00 2001 From: "pengfei.zhou" Date: Mon, 27 Apr 2020 18:03:33 +0800 Subject: [PATCH] iOS:default set clipToBounds = YES --- doric-iOS/Pod/Classes/Shader/DoricViewNode.m | 1 + 1 file changed, 1 insertion(+) diff --git a/doric-iOS/Pod/Classes/Shader/DoricViewNode.m b/doric-iOS/Pod/Classes/Shader/DoricViewNode.m index 7b67cba8..838d8964 100644 --- a/doric-iOS/Pod/Classes/Shader/DoricViewNode.m +++ b/doric-iOS/Pod/Classes/Shader/DoricViewNode.m @@ -123,6 +123,7 @@ - (void)initWithSuperNode:(DoricSuperNode *)superNode { } self.superNode = superNode; self.view = [self build]; + self.view.clipsToBounds = YES; } - (UIView *)build {