DMLazyScrollView icon indicating copy to clipboard operation
DMLazyScrollView copied to clipboard

DMLazyScrollView direction is not right

Open burakkilic opened this issue 12 years ago • 0 comments

Hi;

There is a small problem in the code. If I want to scroll backward, it cannot slide. - (void) setPage:(NSInteger) newIndex animated:(BOOL) animated { [self setPage:newIndex DMLazyScrollViewTransitionForward animated:animated]; }

should be changed to

- (void) setPage:(NSInteger) newIndex animated:(BOOL) animated {
    [self setPage:newIndex transition:DMLazyScrollViewDirectionHorizontal animated:animated];
}

burakkilic avatar Jul 10 '13 09:07 burakkilic