iOS:fix Slider and rotation

This commit is contained in:
pengfei.zhou
2020-04-07 10:58:44 +08:00
committed by osborn
parent 102f570fb4
commit f3c8d1be31
10 changed files with 17 additions and 45 deletions

View File

@@ -21,15 +21,6 @@
//
#import "DoricSlideItemNode.h"
@interface DoricSlideItemView : UIView
@end
@implementation DoricSlideItemView
- (void)layoutSubviews {
[super layoutSubviews];
}
@end
@implementation DoricSlideItemNode
- (instancetype)initWithContext:(DoricContext *)doricContext {
@@ -45,7 +36,7 @@ - (void)initWithSuperNode:(DoricSuperNode *)superNode {
self.view.clipsToBounds = YES;
}
- (DoricSlideItemView *)build {
return [DoricSlideItemView new];
- (void)requestLayout {
[self.view.doricLayout apply];
}
@end