diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/animation/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/animation/mod.rs b/src/animation/mod.rs index 50dfc195..b6d6b552 100644 --- a/src/animation/mod.rs +++ b/src/animation/mod.rs @@ -123,8 +123,8 @@ impl Animation { ), Kind::Spring(spring) => { let spring = Spring { - from: self.from, - to: self.to, + from, + to, initial_velocity: self.initial_velocity, params: spring.params, }; |
