|
@@ -126,17 +126,17 @@ class PQStuckPointCuttingView: UIView {
|
|
|
|
|
|
return videoCropView
|
|
|
}()
|
|
|
- //两边的mask
|
|
|
+ //两边的mask 2 是裁剪区的边框
|
|
|
lazy var leftMaskView: UIView = {
|
|
|
- let leftMaskView: UIView = UIView(frame: CGRect(x:0, y: 0, width: (cScreenWidth - cropViewWidth) / 2, height: 80))
|
|
|
+ let leftMaskView: UIView = UIView(frame: CGRect(x:0, y: 0, width: (cScreenWidth - cropViewWidth) / 2 - 2, height: 80))
|
|
|
leftMaskView.backgroundColor = UIColor.white
|
|
|
leftMaskView.alpha = 0.7
|
|
|
return leftMaskView
|
|
|
}()
|
|
|
|
|
|
- //右边的mask
|
|
|
+ //右边的mask 2 是裁剪区的边框
|
|
|
lazy var rightMaskView: UIView = {
|
|
|
- let rightMaskView: UIView = UIView(frame: CGRect(x:videoCropView.frame.maxX, y: 0, width: (cScreenWidth - cropViewWidth) / 2, height: 80))
|
|
|
+ let rightMaskView: UIView = UIView(frame: CGRect(x:videoCropView.frame.maxX + 2, y: 0, width: (cScreenWidth - cropViewWidth) / 2, height: 80))
|
|
|
rightMaskView.backgroundColor = UIColor.white
|
|
|
rightMaskView.alpha = 0.7
|
|
|
return rightMaskView
|