|
@@ -1478,8 +1478,9 @@ extension PQStuckPointEditerController {
|
|
|
})
|
|
|
pointIndex = (pointIndex ?? 0) + 1
|
|
|
for i in 0...selectedImageDataCount {
|
|
|
-
|
|
|
- finallyStuckPoints.append(stuckPointsTemp[(i + Int(pointIndex ?? 0)) % stuckPointsTemp.count] + Float((i + Int(pointIndex ?? 0)) / stuckPointsTemp.count) * (stuckPointsTemp.first ?? 0))
|
|
|
+ let a = stuckPointsTemp[(i + Int(pointIndex ?? 0)) % stuckPointsTemp.count]
|
|
|
+ let b = Float((i + Int(pointIndex ?? 0)) / stuckPointsTemp.count) * (stuckPointsTemp.first ?? 0)
|
|
|
+ finallyStuckPoints.append(a + b)
|
|
|
}
|
|
|
|
|
|
selectedTotalDuration = Float64((finallyStuckPoints.last ?? 0) - (finallyStuckPoints.first ?? 0))
|
|
@@ -1561,7 +1562,7 @@ extension PQStuckPointEditerController {
|
|
|
}
|
|
|
// 添加子视图
|
|
|
// if(playerView )
|
|
|
-// self?.addSubViews()
|
|
|
+ self?.addSubViews()
|
|
|
} else {
|
|
|
if self?.synchroMarskView.superview != nil {
|
|
|
self?.synchroMarskView.removeMarskView()
|