|
@@ -309,7 +309,7 @@ class PQStuckPointEditerController: BFBaseViewController {
|
|
lazy var pointEditerBtn: UIButton = {
|
|
lazy var pointEditerBtn: UIButton = {
|
|
let pointEdterBtn = UIButton(type: .custom)
|
|
let pointEdterBtn = UIButton(type: .custom)
|
|
|
|
|
|
- pointEdterBtn.setImage(UIImage.moduleImage(named: "pointEditerBtn_n", moduleName: "BFFramework", isAssets: false), for: .normal)
|
|
|
|
|
|
+ pointEdterBtn.setImage(bfFramworkImage(by: "pointEditerBtn_n"), for: .normal)
|
|
|
|
|
|
pointEdterBtn.setImage(UIImage.moduleImage(named: "pointEditerBtn_h", moduleName: "BFFramework", isAssets: false)?.withRenderingMode(.alwaysTemplate), for: .selected)
|
|
pointEdterBtn.setImage(UIImage.moduleImage(named: "pointEditerBtn_h", moduleName: "BFFramework", isAssets: false)?.withRenderingMode(.alwaysTemplate), for: .selected)
|
|
pointEdterBtn.tintColor = UIColor.hexColor(hexadecimal: BFConfig.shared.styleColor.rawValue)
|
|
pointEdterBtn.tintColor = UIColor.hexColor(hexadecimal: BFConfig.shared.styleColor.rawValue)
|
|
@@ -1121,7 +1121,9 @@ class PQStuckPointEditerController: BFBaseViewController {
|
|
|
|
|
|
let beginTime = Date()
|
|
let beginTime = Date()
|
|
dealParameter(model: currentCreateStickersModel)
|
|
dealParameter(model: currentCreateStickersModel)
|
|
-
|
|
|
|
|
|
+ if finallyStuckPoints.count < 2 {
|
|
|
|
+ return
|
|
|
|
+ }
|
|
// 更新裁剪时间条的的ui数据
|
|
// 更新裁剪时间条的的ui数据
|
|
stuckPointCuttingView.videoDuration = max(CGFloat(finallyUserAudioTime), CGFloat(finallyStuckPoints.last!))
|
|
stuckPointCuttingView.videoDuration = max(CGFloat(finallyUserAudioTime), CGFloat(finallyStuckPoints.last!))
|
|
let counn = (stuckPointMusicData?.rhythmSdata[0].pointTimes.count)! - 2
|
|
let counn = (stuckPointMusicData?.rhythmSdata[0].pointTimes.count)! - 2
|