|
@@ -2067,6 +2067,9 @@ public class BFRecordScreenController: BFBaseViewController {
|
|
|
}
|
|
|
if let cell = wself.collectionView.cellForItem(at: IndexPath(item: wself.currItemModelIndex, section: 0)) as? BFImageCoverViewCell, cell.recordItem?.localPath == item.localPath {
|
|
|
wself.rscurrentManager.resetEnv()
|
|
|
+ if wself.currMediaType == .Video {
|
|
|
+ (cell as? BFVideoCoverViewCell)?.rotationView()
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -2345,6 +2348,12 @@ extension BFRecordScreenController: UICollectionViewDelegate, UICollectionViewDa
|
|
|
}
|
|
|
|
|
|
}
|
|
|
+
|
|
|
+ public func collectionView(_ collectionView: UICollectionView, didEndDisplaying cell: UICollectionViewCell, forItemAt indexPath: IndexPath) {
|
|
|
+ if let currCell = cell as? BFVideoCoverViewCell {
|
|
|
+ currCell.rotationView()
|
|
|
+ }
|
|
|
+ }
|
|
|
public func scrollViewWillBeginDragging(_: UIScrollView) {
|
|
|
BFLog(1, message: "开始滚动")
|
|
|
if currMediaType == .Camera && rscurrentManager.recordItem?.voiceStickers.count == 0{
|