diff --git a/iOS/Pod/Classes/Shader/DoricLayouts.h b/iOS/Pod/Classes/Shader/DoricLayouts.h index 8b825e6f..0ebdbc93 100644 --- a/iOS/Pod/Classes/Shader/DoricLayouts.h +++ b/iOS/Pod/Classes/Shader/DoricLayouts.h @@ -31,9 +31,9 @@ typedef struct DoricMargin DoricMargin; DoricMargin DoricMarginMake(CGFloat left, CGFloat top, CGFloat right, CGFloat bottom); typedef NS_ENUM(NSInteger, DoricLayoutSpec) { - DoricLayoutExact, - DoricLayoutWrapContent, - DoricLayoutAtMost, + DoricLayoutExact = 0, + DoricLayoutWrapContent = 1, + DoricLayoutAtMost = 2, }; typedef NS_ENUM(NSInteger, DoricGravity) { diff --git a/iOS/Pod/Classes/Shader/DoricSuperNode.m b/iOS/Pod/Classes/Shader/DoricSuperNode.m index de6422ad..439fc6e9 100644 --- a/iOS/Pod/Classes/Shader/DoricSuperNode.m +++ b/iOS/Pod/Classes/Shader/DoricSuperNode.m @@ -39,6 +39,8 @@ - (void)blendView:(UIView *)view forPropName:(NSString *)name propValue:(id)prop [self mixinSubNode:subModel]; [self blendSubNode:subModel]; } + } else { + [super blendView:view forPropName:name propValue:prop]; } }