forge
Explore
Log in

Don't you dare go Hollow

animation: Fix restarted() Spring using old from/to

Browse files at this commit

ba933773ab1c2fb9e648676ed1797d4e67545da7Ivan MolodetskikhParent: f1cca1a
src/animation/mod.rsmodified+2 -2
@@ -123,8 +123,8 @@ impl Animation {
123123 ),
124124 Kind::Spring(spring) => {
125125 let spring = Spring {
126- from: self.from,
127- to: self.to,
126+ from,
127+ to,
128128 initial_velocity: self.initial_velocity,
129129 params: spring.params,
130130 };