Commit 3ec37552b62a7c2922ad6bde94ca876b9bf471ba
1 parent
38719154
no message
Showing
1 changed file
with
3 additions
and
4 deletions
metaCode/Classes/Main/HomePage/Controller/AuthMainController/CNMetaCodeHomePageController.swift
| ... | ... | @@ -421,27 +421,26 @@ class CNMetaCodeHomePageController:CNLiveBaseViewController, NewPagedFlowViewDel |
| 421 | 421 | if(currentOffset > beginOffset){ |
| 422 | 422 | |
| 423 | 423 | if let rightView = self.backgroupView.getRightView(){ |
| 424 | - scrollView.isScrollEnabled = true | |
| 425 | 424 | if let currentApearView = self.backgroupView.currentApearView{ |
| 426 | 425 | self.backgroupView.insertSubview(rightView, belowSubview: currentApearView) |
| 427 | 426 | } |
| 428 | 427 | |
| 429 | 428 | self.backgroupView.currentApearView?.maskLayer.right = KSreenWidth - (currentOffset-beginOffset)*2.5 |
| 430 | 429 | }else{ |
| 431 | - scrollView.isScrollEnabled = false | |
| 430 | + | |
| 432 | 431 | } |
| 433 | 432 | } |
| 434 | 433 | |
| 435 | 434 | if(currentOffset < beginOffset){ |
| 436 | 435 | if let leftView = self.backgroupView.getLeftView(){ |
| 437 | - scrollView.isScrollEnabled = true | |
| 436 | + | |
| 438 | 437 | if let currentApearView = self.backgroupView.currentApearView{ |
| 439 | 438 | self.backgroupView.insertSubview(leftView, belowSubview: currentApearView) |
| 440 | 439 | } |
| 441 | 440 | |
| 442 | 441 | self.backgroupView.currentApearView?.maskLayer.left = (beginOffset-currentOffset)*2.5 |
| 443 | 442 | }else{ |
| 444 | - scrollView.isScrollEnabled = false | |
| 443 | + | |
| 445 | 444 | } |
| 446 | 445 | } |
| 447 | 446 | } | ... | ... |