feat:fix render props error
This commit is contained in:
parent
52fcafeb92
commit
3289513720
@ -31,9 +31,9 @@ typedef struct DoricMargin DoricMargin;
|
|||||||
DoricMargin DoricMarginMake(CGFloat left, CGFloat top, CGFloat right, CGFloat bottom);
|
DoricMargin DoricMarginMake(CGFloat left, CGFloat top, CGFloat right, CGFloat bottom);
|
||||||
|
|
||||||
typedef NS_ENUM(NSInteger, DoricLayoutSpec) {
|
typedef NS_ENUM(NSInteger, DoricLayoutSpec) {
|
||||||
DoricLayoutExact,
|
DoricLayoutExact = 0,
|
||||||
DoricLayoutWrapContent,
|
DoricLayoutWrapContent = 1,
|
||||||
DoricLayoutAtMost,
|
DoricLayoutAtMost = 2,
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef NS_ENUM(NSInteger, DoricGravity) {
|
typedef NS_ENUM(NSInteger, DoricGravity) {
|
||||||
|
@ -39,6 +39,8 @@ - (void)blendView:(UIView *)view forPropName:(NSString *)name propValue:(id)prop
|
|||||||
[self mixinSubNode:subModel];
|
[self mixinSubNode:subModel];
|
||||||
[self blendSubNode:subModel];
|
[self blendSubNode:subModel];
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
[super blendView:view forPropName:name propValue:prop];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user