Skip to content

Commit

Permalink
Merge pull request #4 from TimOliver/fix-typo
Browse files Browse the repository at this point in the history
Fix typo in gradient naming
  • Loading branch information
TimOliver authored Jan 21, 2025
2 parents c0b9cfb + ff101be commit 88bf16a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BlurUIKit/VariableBlurView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ extension VariableBlurView {

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

0 comments on commit 88bf16a

Please sign in to comment.