|
@@ -212,11 +212,11 @@ private extension WSSCreativeTemplateEditViewController {
|
|
videoSize: videoSize,
|
|
videoSize: videoSize,
|
|
videoDegress: WSSMediaOperationTool.degressFromVideo(asset: videoModel.vaildVideoAsset),
|
|
videoDegress: WSSMediaOperationTool.degressFromVideo(asset: videoModel.vaildVideoAsset),
|
|
mediaModel: mediaModel)
|
|
mediaModel: mediaModel)
|
|
- videoModel.cropModel = cropModel
|
|
|
|
-
|
|
|
|
|
|
+
|
|
// 创建临时视图做初始化
|
|
// 创建临时视图做初始化
|
|
- _ = WSSVideoCropView(frame: videoCropView?.frame ?? CGRect.zero, videoCropModel: cropModel)
|
|
|
|
-
|
|
|
|
|
|
+ let cropView = WSSVideoCropView(frame: videoCropView?.frame ?? CGRect.zero, videoCropModel: cropModel)
|
|
|
|
+ cropView.changeCropModel(cropModel, isInit: true)
|
|
|
|
+ videoModel.cropModel = cropModel
|
|
} else {
|
|
} else {
|
|
//
|
|
//
|
|
}
|
|
}
|