mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-21 02:01:55 +07:00
animation: Fix restarted() Spring using old from/to
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user