We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dd605e commit e54b1daCopy full SHA for e54b1da
Sources/OpenSwiftUICore/Layout/Geometry/UnitPoint.swift
@@ -220,7 +220,7 @@ extension UnitPoint {
220
221
extension UnitPoint: Animatable {
222
public var animatableData: AnimatablePair<CGFloat, CGFloat> {
223
- get { AnimatablePair(x.scaled(by: .unitScale), x.scaled(by: .unitScale)) }
+ get { AnimatablePair(x.scaled(by: .unitScale), y.scaled(by: .unitScale)) }
224
set { x = newValue.first.scaled(by: .inverseUnitScale) ; y = newValue.second.scaled(by: .inverseUnitScale) }
225
}
226
0 commit comments