iOS:Fix nested use of FlexLayout
This commit is contained in:
@@ -66,7 +66,6 @@ - (instancetype)init {
|
||||
- (void)apply:(CGSize)frameSize {
|
||||
self.resolved = NO;
|
||||
[self measure:frameSize];
|
||||
[self layout];
|
||||
[self setFrame];
|
||||
self.resolved = YES;
|
||||
}
|
||||
@@ -76,6 +75,11 @@ - (void)apply {
|
||||
}
|
||||
|
||||
- (void)measure:(CGSize)targetSize {
|
||||
[self measureSelf:targetSize];
|
||||
[self layout];
|
||||
}
|
||||
|
||||
- (void)measureSelf:(CGSize)targetSize {
|
||||
CGFloat width;
|
||||
CGFloat height;
|
||||
if (self.widthSpec == DoricLayoutMost) {
|
||||
|
||||
Reference in New Issue
Block a user