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;
|
scrollable = true;
|
||||||
onPageSlidedFuncId = null;
|
onPageSlidedFuncId = null;
|
||||||
renderPageFuncId = null;
|
renderPageFuncId = null;
|
||||||
|
slideStyle = null;
|
||||||
|
minScale = .618f;
|
||||||
|
maxScale = 1.f;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static class DoricLinearSmoothScroller extends LinearSmoothScroller {
|
private static class DoricLinearSmoothScroller extends LinearSmoothScroller {
|
||||||
|
@ -349,6 +349,9 @@ - (void)reset {
|
|||||||
self.onPageSelectedFuncId = nil;
|
self.onPageSelectedFuncId = nil;
|
||||||
self.propRenderPageFuncId = nil;
|
self.propRenderPageFuncId = nil;
|
||||||
self.renderPageFuncId = nil;
|
self.renderPageFuncId = nil;
|
||||||
|
self.slideStyle = nil;
|
||||||
|
self.minScale = .618f;
|
||||||
|
self.maxScale = 1.f;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)subNodeContentChanged:(DoricViewNode *)subNode {
|
- (void)subNodeContentChanged:(DoricViewNode *)subNode {
|
||||||
|
Reference in New Issue
Block a user