Commit 2a6f398fad9012104d273aaee075f8448e8bd01d
1 parent
be21473b
0.4.5
Showing
2 changed files
with
2 additions
and
3 deletions
CNLiveVideoClassifyKit.podspec
CNLiveVideoClassifyKit/Classes/SearchView/ViewController/CNWitnessSearchListController.m
| ... | ... | @@ -62,8 +62,7 @@ |
| 62 | 62 | if (translation.x < 0) { |
| 63 | 63 | CGFloat lenth = -translation.x ; |
| 64 | 64 | if (gesture.state == UIGestureRecognizerStateChanged) { |
| 65 | - [self.listContainerView.scrollView setOffsetX:lenth*3 | |
| 66 | - animated:YES]; | |
| 65 | + self.listContainerView.scrollView.offsetX = lenth; | |
| 67 | 66 | self.lineView.x = self.lineX + lenth/3; |
| 68 | 67 | } else if (gesture.state == UIGestureRecognizerStateEnded) { |
| 69 | 68 | if (lenth >= sensitivePosition) { | ... | ... |