|
@@ -1379,12 +1379,15 @@ public class BFRecordScreenController: BFBaseViewController {
|
|
|
|
|
|
if !isDragingProgressSlder, isStopAtRecordRange != -1, isStopAtRecordRange < itemModels[currItemModelIndex].voiceStickers.count {
|
|
|
let model = itemModels[currItemModelIndex].voiceStickers[isStopAtRecordRange]
|
|
|
- itemModels[currItemModelIndex].voiceStickers.remove(at: isStopAtRecordRange)
|
|
|
- indirectionView?.deleteItem(index: isStopAtRecordRange)
|
|
|
+
|
|
|
+ // 撤销记录点
|
|
|
var event = WithDrawModel(type: 3, timestamp: currentAssetProgress, recordItem: rscurrentManager.recordItem!.mutableCopy() as! BFRecordItemModel)
|
|
|
event.deletedTittles = deleteTitles(voiceModel: model)
|
|
|
events.append(event)
|
|
|
|
|
|
+ itemModels[currItemModelIndex].voiceStickers.remove(at: isStopAtRecordRange)
|
|
|
+ indirectionView?.deleteItem(index: isStopAtRecordRange)
|
|
|
+
|
|
|
rscurrentManager.deleteRecord(at: currentAssetProgress)
|
|
|
|
|
|
if currMediaType != .Video{
|