diff --git a/Sources/Stagehand/AnimatableProperty/AnimatableProperty+CGAffineTransform.swift b/Sources/Stagehand/AnimatableProperty/AnimatableProperty+CGAffineTransform.swift index 5488fc7..b82874d 100644 --- a/Sources/Stagehand/AnimatableProperty/AnimatableProperty+CGAffineTransform.swift +++ b/Sources/Stagehand/AnimatableProperty/AnimatableProperty+CGAffineTransform.swift @@ -28,8 +28,8 @@ extension CGAffineTransform: AnimatableProperty { and finalValue: CGAffineTransform, at progress: Double ) -> CGAffineTransform { - var initialDecomposition = initialValue.decomposed() - var finalDecomposition = finalValue.decomposed() + var initialDecomposition: CGAffineTransformComponents.DecomposedMatrix = initialValue.decomposed() + var finalDecomposition: CGAffineTransformComponents.DecomposedMatrix = finalValue.decomposed() // Prefer rotating over scaling when possible. let flippedFromNegativeXToNegativeY = initialDecomposition.scaleX < 0 && finalDecomposition.scaleY < 0