|
@@ -1566,7 +1566,7 @@ extension PQStuckPointEditerController {
|
|
|
let b = Float((i + Int(pointIndex ?? 0)) / stuckPointsTemp.count) * (stuckPointsTemp.first ?? 0)
|
|
|
finallyStuckPoints.append(a + b)
|
|
|
}
|
|
|
- oneSelectImageDuration = Float((finallyStuckPoints.last ?? 0) - (finallyStuckPoints.first ?? 0))
|
|
|
+ oneSelectImageDuration = Float((finallyStuckPoints.last ?? 0) - (finallyStuckPoints.first ?? 0)) + oneSelectImageDuration
|
|
|
|
|
|
lastCyclesSelectIndex = lastCyclesSelectIndex + 1
|
|
|
}
|
|
@@ -1637,9 +1637,7 @@ extension PQStuckPointEditerController {
|
|
|
if newMusicData?.speed != nil {
|
|
|
self?.stuckPointMusicData?.speed = newMusicData?.speed ?? 2
|
|
|
}
|
|
|
-
|
|
|
|
|
|
-// self?.stuckPointCuttingView.updateEndTime(startTime: CGFloat(self?.stuckPointMusicData?.startTime ?? 0), endTime: CGFloat(self?.stuckPointMusicData?.endTime ?? 0))
|
|
|
|
|
|
if self?.stuckPointMusicData?.localPath == nil || (self?.stuckPointMusicData?.localPath?.count ?? 0) > 0 {
|
|
|
PQDownloadManager.downLoadFile(url: self?.stuckPointMusicData?.musicPath ?? "") { [weak self] filePath, error in
|