Commit 2a6f398fad9012104d273aaee075f8448e8bd01d
1 parent
be21473b
0.4.5
Showing
2 changed files
with
2 additions
and
3 deletions
CNLiveVideoClassifyKit.podspec
| @@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
| 8 | 8 | ||
| 9 | Pod::Spec.new do |s| | 9 | Pod::Spec.new do |s| |
| 10 | s.name = 'CNLiveVideoClassifyKit' | 10 | s.name = 'CNLiveVideoClassifyKit' |
| 11 | - s.version = '0.4.4' | 11 | + s.version = '0.4.5' |
| 12 | s.summary = '视讯头部一二级菜单组件' | 12 | s.summary = '视讯头部一二级菜单组件' |
| 13 | 13 | ||
| 14 | # This description is used to generate tags and improve search results. | 14 | # This description is used to generate tags and improve search results. |
CNLiveVideoClassifyKit/Classes/SearchView/ViewController/CNWitnessSearchListController.m
| @@ -62,8 +62,7 @@ | @@ -62,8 +62,7 @@ | ||
| 62 | if (translation.x < 0) { | 62 | if (translation.x < 0) { |
| 63 | CGFloat lenth = -translation.x ; | 63 | CGFloat lenth = -translation.x ; |
| 64 | if (gesture.state == UIGestureRecognizerStateChanged) { | 64 | if (gesture.state == UIGestureRecognizerStateChanged) { |
| 65 | - [self.listContainerView.scrollView setOffsetX:lenth*3 | ||
| 66 | - animated:YES]; | 65 | + self.listContainerView.scrollView.offsetX = lenth; |
| 67 | self.lineView.x = self.lineX + lenth/3; | 66 | self.lineView.x = self.lineX + lenth/3; |
| 68 | } else if (gesture.state == UIGestureRecognizerStateEnded) { | 67 | } else if (gesture.state == UIGestureRecognizerStateEnded) { |
| 69 | if (lenth >= sensitivePosition) { | 68 | if (lenth >= sensitivePosition) { |