|
@@ -807,9 +807,6 @@ public class BFRecordScreenController: BFBaseViewController {
|
|
|
if !checkStatus(show: false) {
|
|
|
return
|
|
|
}
|
|
|
-
|
|
|
- let point = recognizer.location(in: bottomeView)
|
|
|
-
|
|
|
switch recognizer.state {
|
|
|
case .began:
|
|
|
touchStart = recognizer.location(in: bottomeView)
|
|
@@ -1704,11 +1701,9 @@ public class BFRecordScreenController: BFBaseViewController {
|
|
|
// 注:视频无法以录制进度驱动,因当录音开始录音时播放器还未播放,导致进度不一致
|
|
|
// 注:在录制停止时,视频播放器进度依然在走,误差在80毫秒左右
|
|
|
if isRecording, itemModels[currItemModelIndex].mediaType == .IMAGE {
|
|
|
- let ratioX = 0.08
|
|
|
let startTime = recorderManager?.voiceModel?.startTime ?? 0
|
|
|
-
|
|
|
// 使用播放器的进度来画线,因为进度是跟着播放器来了
|
|
|
- indirectionView?.setProgress(start: startTime, progress: max(0, progress - ratioX))
|
|
|
+ indirectionView?.setProgress(start: startTime, progress: progress)
|
|
|
}
|
|
|
if itemModels[currItemModelIndex].mediaType == .IMAGE {
|
|
|
imageRecordProgress(isRecord: true, progress: progress)
|