File tree 2 files changed +2
-3
lines changed
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -50,8 +50,7 @@ class FoldingView: UIView
50
50
self . topView. layer. mask = self . maskForSection ( . top, withRect: self . topView. bounds)
51
51
self . topView. isUserInteractionEnabled = true
52
52
self . topView. contentMode = . scaleAspectFill
53
-
54
- // TODO: blurred image is too small
53
+
55
54
self . backView = UIImageView ( frame: self . topView. bounds)
56
55
self . backView. image = image. blurred
57
56
self . backView. alpha = 0.0
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ extension UIImage
21
21
guard let result: CIImage = filter. outputImage else {
22
22
return self
23
23
}
24
- guard let cgImage: CGImage = context. createCGImage ( result, from: result . extent) else {
24
+ guard let cgImage: CGImage = context. createCGImage ( result, from: inputImage . extent) else {
25
25
return self
26
26
}
27
27
let returnImage : UIImage = UIImage ( cgImage: cgImage)
You can’t perform that action at this time.
0 commit comments