Skip to content

Commit 88bf16a

Browse files
authored
Merge pull request #4 from TimOliver/fix-typo
Fix typo in gradient naming
2 parents c0b9cfb + ff101be commit 88bf16a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

BlurUIKit/VariableBlurView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ extension VariableBlurView {
347347

348348
// Create a Core Image smooth linear gradient, since the classic Core Graphics gradient seems
349349
// to have a much harsher starting line at the edge of the gradient
350-
let filterName = smooth ? "CILinearGradient" : "CILinearGradient"
350+
let filterName = smooth ? "CISmoothLinearGradient" : "CILinearGradient"
351351
guard let gradientFilter = CIFilter(name: filterName) else { return nil }
352352
gradientFilter.setDefaults()
353353
gradientFilter.setValue(gradientPosition.start, forKey: "inputPoint0")

0 commit comments

Comments
 (0)