|  | @@ -425,11 +425,16 @@ public class BFRecordScreenController: BFBaseViewController {
 | 
											
												
													
														|  |      lazy var musicCutView: BFMusicCutView = {
 |  |      lazy var musicCutView: BFMusicCutView = {
 | 
											
												
													
														|  |          let musicCutView = BFMusicCutView(frame: CGRect(x: 0, y: 0, width: cScreenWidth, height: cScreenHeigth))
 |  |          let musicCutView = BFMusicCutView(frame: CGRect(x: 0, y: 0, width: cScreenWidth, height: cScreenHeigth))
 | 
											
												
													
														|  |          musicCutView.isHidden = true
 |  |          musicCutView.isHidden = true
 | 
											
												
													
														|  | -        musicCutView.cutTimeHandle = {[weak self] iscancel  ,endTime ,musicInfo in
 |  | 
 | 
											
												
													
														|  | 
 |  | +        musicCutView.cutTimeHandle = {[weak self] iscancel, endTime, musicInfo in
 | 
											
												
													
														|  |              guard let wself = self else { return }
 |  |              guard let wself = self else { return }
 | 
											
												
													
														|  |              
 |  |              
 | 
											
												
													
														|  |              if(!iscancel){
 |  |              if(!iscancel){
 | 
											
												
													
														|  |                  wself.hadChoosed(music:musicInfo)
 |  |                  wself.hadChoosed(music:musicInfo)
 | 
											
												
													
														|  | 
 |  | +            }else{
 | 
											
												
													
														|  | 
 |  | +                musicInfo?.isSelected = false
 | 
											
												
													
														|  | 
 |  | +                let btn = UIButton()
 | 
											
												
													
														|  | 
 |  | +                btn.tag = 1001
 | 
											
												
													
														|  | 
 |  | +                wself.choseMusicPanel.btnAction(btn: btn)
 | 
											
												
													
														|  |              }
 |  |              }
 | 
											
												
													
														|  |          
 |  |          
 | 
											
												
													
														|  |              //add by ak
 |  |              //add by ak
 | 
											
										
											
												
													
														|  | @@ -1477,8 +1482,11 @@ public class BFRecordScreenController: BFBaseViewController {
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |          DispatchQueue.main.async { [weak self] in
 |  |          DispatchQueue.main.async { [weak self] in
 | 
											
												
													
														|  |              guard let wself = self else { return }
 |  |              guard let wself = self else { return }
 | 
											
												
													
														|  | -            wself.musicCutView.isHidden = false
 |  | 
 | 
											
												
													
														|  |              wself.musicCutView.bgmData = model
 |  |              wself.musicCutView.bgmData = model
 | 
											
												
													
														|  | 
 |  | +            wself.musicCutView.currentProgressLab.text = model.startCMTime.seconds.formatDurationToHMS()
 | 
											
												
													
														|  | 
 |  | +            wself.musicCutView.resetWave()
 | 
											
												
													
														|  | 
 |  | +            wself.musicCutView.show()
 | 
											
												
													
														|  | 
 |  | +            
 | 
											
												
													
														|  |              wself.musicCutView.frame = CGRect(x: 0, y: cScreenHeigth + 220, width: cScreenWidth, height: cScreenHeigth)
 |  |              wself.musicCutView.frame = CGRect(x: 0, y: cScreenHeigth + 220, width: cScreenWidth, height: cScreenHeigth)
 | 
											
												
													
														|  |              UIView.animate(withDuration: 0.1) {
 |  |              UIView.animate(withDuration: 0.1) {
 | 
											
												
													
														|  |                  // 显示裁剪视图
 |  |                  // 显示裁剪视图
 |