|
@@ -776,8 +776,10 @@ public class BFRecordScreenController: BFBaseViewController {
|
|
setSubtitleStyle(settingModel: subtitleSettingView.subtitle.setting)
|
|
setSubtitleStyle(settingModel: subtitleSettingView.subtitle.setting)
|
|
|
|
|
|
} else {
|
|
} else {
|
|
- subtitleLabel.text = ""
|
|
|
|
- subtitleLabel.backgroundColor = UIColor.clear
|
|
|
|
|
|
+ if subtitleLabel.text?.count ?? 0 > 0 {
|
|
|
|
+ subtitleLabel.text = ""
|
|
|
|
+ subtitleLabel.backgroundColor = UIColor.clear
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -2080,6 +2082,7 @@ extension BFRecordScreenController: UICollectionViewDelegate, UICollectionViewDa
|
|
searchStopAtRecordRange()
|
|
searchStopAtRecordRange()
|
|
// 切换要更新当前录制index,避免在录制完以后切换素材这种时候为-3会拦截
|
|
// 切换要更新当前录制index,避免在录制完以后切换素材这种时候为-3会拦截
|
|
currentPlayRecordIndex = -1
|
|
currentPlayRecordIndex = -1
|
|
|
|
+ showSubtitleIndex = -1
|
|
// 重置播放器
|
|
// 重置播放器
|
|
assetPlayer?.seek(to: CMTime.zero)
|
|
assetPlayer?.seek(to: CMTime.zero)
|
|
recordPlayer?.seek(to: CMTime.zero)
|
|
recordPlayer?.seek(to: CMTime.zero)
|