File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Sources/OpenSwiftUICore/Animation/Animation Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -143,14 +143,10 @@ public struct UnitCurve {
143143 ///
144144 public var inverse : UnitCurve {
145145 switch function {
146- case . linear:
147- . init( function: . linear)
148- case . circularEaseIn:
149- . init( function: . circularEaseOut)
150- case . circularEaseOut:
151- . init( function: . circularEaseIn)
152- case . circularEaseInOut:
153- . init( function: . circularEaseInOut)
146+ case . linear: . linear
147+ case . circularEaseIn: . circularEaseOut
148+ case . circularEaseOut: . circularEaseIn
149+ case . circularEaseInOut: . circularEaseInOut
154150 case let . bezier( startControlPoint, endControlPoint) :
155151 . bezier(
156152 startControlPoint: UnitPoint ( x: startControlPoint. y, y: startControlPoint. x) ,
You can’t perform that action at this time.
0 commit comments