diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-04-12 12:12:40 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-04-16 07:46:10 +0300 |
| commit | ba933773ab1c2fb9e648676ed1797d4e67545da7 (patch) | |
| tree | 4224fbb38eb17a93592b9eb271bc62528193d23e /src/animation | |
| parent | f1cca1a6ca0fb176e7681c5212ecd9f34678bdec (diff) | |
| download | niri-ba933773ab1c2fb9e648676ed1797d4e67545da7.tar.gz niri-ba933773ab1c2fb9e648676ed1797d4e67545da7.tar.bz2 niri-ba933773ab1c2fb9e648676ed1797d4e67545da7.zip | |
animation: Fix restarted() Spring using old from/to
Diffstat (limited to 'src/animation')
| -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, }; |
