diff --git a/Sources/Private/CoreAnimation/Extensions/Keyframes+combined.swift b/Sources/Private/CoreAnimation/Extensions/Keyframes+combined.swift index 6d8fabb66f..278e2f47d5 100644 --- a/Sources/Private/CoreAnimation/Extensions/Keyframes+combined.swift +++ b/Sources/Private/CoreAnimation/Extensions/Keyframes+combined.swift @@ -262,7 +262,7 @@ enum Keyframes { extension KeyframeGroup { /// Whether or not all of the keyframes in this `KeyframeGroup` have the same /// timing parameters as the corresponding keyframe in the other given `KeyframeGroup` - func hasSameTimingParameters(as other: KeyframeGroup) -> Bool { + func hasSameTimingParameters(as other: KeyframeGroup) -> Bool { guard keyframes.count == other.keyframes.count else { return false } @@ -276,7 +276,7 @@ extension KeyframeGroup { extension Keyframe { /// Whether or not this keyframe has the same timing parameters as the given keyframe, /// excluding `spatialInTangent` and `spatialOutTangent`. - fileprivate func hasSameTimingParameters(as other: Keyframe) -> Bool { + fileprivate func hasSameTimingParameters(as other: Keyframe) -> Bool { time == other.time && isHold == other.isHold && inTangent == other.inTangent