feat:slider add reset action
This commit is contained in:
parent
e1bb564d14
commit
c367b93121
@ -301,6 +301,9 @@ public class SliderNode extends SuperNode<RecyclerView> {
|
||||
scrollable = true;
|
||||
onPageSlidedFuncId = null;
|
||||
renderPageFuncId = null;
|
||||
slideStyle = null;
|
||||
minScale = .618f;
|
||||
maxScale = 1.f;
|
||||
}
|
||||
|
||||
private static class DoricLinearSmoothScroller extends LinearSmoothScroller {
|
||||
|
@ -349,6 +349,9 @@ - (void)reset {
|
||||
self.onPageSelectedFuncId = nil;
|
||||
self.propRenderPageFuncId = nil;
|
||||
self.renderPageFuncId = nil;
|
||||
self.slideStyle = nil;
|
||||
self.minScale = .618f;
|
||||
self.maxScale = 1.f;
|
||||
}
|
||||
|
||||
- (void)subNodeContentChanged:(DoricViewNode *)subNode {
|
||||
|
Reference in New Issue
Block a user