Commit 5541797d7d45b82bedac78b4617dcf076a5ef3ea

Authored by yanglingyu
1 parent 2a6f398f

动画卡断修复

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.5' 11 + s.version = '0.4.6'
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
@@ -65,7 +65,7 @@ @@ -65,7 +65,7 @@
65 self.listContainerView.scrollView.offsetX = lenth; 65 self.listContainerView.scrollView.offsetX = lenth;
66 self.lineView.x = self.lineX + lenth/3; 66 self.lineView.x = self.lineX + lenth/3;
67 } else if (gesture.state == UIGestureRecognizerStateEnded) { 67 } else if (gesture.state == UIGestureRecognizerStateEnded) {
68 - if (lenth >= sensitivePosition) { 68 + if (lenth >= sensitivePosition || gesture.numberOfTouches < 0.5) {
69 [self.myCategoryView selectItemAtIndex:1]; 69 [self.myCategoryView selectItemAtIndex:1];
70 }else{ 70 }else{
71 [self.listContainerView.scrollView setOffsetX:0 71 [self.listContainerView.scrollView setOffsetX:0