feat:step5

This commit is contained in:
pengfei.zhou
2019-11-27 17:03:20 +08:00
parent 91a26eb9a8
commit 209a9267fe
2 changed files with 2 additions and 10 deletions

View File

@@ -45,10 +45,6 @@ - (void)layoutSelf:(CGSize)targetSize {
[self setContentSize:self.contentView.frame.size];
}
- (CGSize)measureSize:(CGSize)targetSize {
CGSize size = [super measureSize:targetSize];
return CGSizeMake(MIN(targetSize.width, size.width), MIN(targetSize.height, size.height));
}
@end
@interface DoricScrollerNode ()