Skip to content

Commit

Permalink
Merge pull request #2 from linkstreet/fix/xcode-15-bugs
Browse files Browse the repository at this point in the history
Fix Xcode 15 bugs
  • Loading branch information
meyyappanv authored Sep 6, 2021
2 parents f66edbd + 570bf83 commit 00bed98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CountdownLabel/LTMorphingLabel/LTEasing.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public struct LTEasing {

public static func easeOutQuint(_ t: Float, _ b: Float, _ c: Float, _ d: Float = 1.0) -> Float {
return {
return c * ($0 * $0 * $0 * $0 * $0 + 1.0) + b
return c * (pow($0, 5) + 1.0) + b
}(t / d - 1.0)
}

Expand Down

0 comments on commit 00bed98

Please sign in to comment.