mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-22 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) => {
|
Kind::Spring(spring) => {
|
||||||
let spring = Spring {
|
let spring = Spring {
|
||||||
from: self.from,
|
from,
|
||||||
to: self.to,
|
to,
|
||||||
initial_velocity: self.initial_velocity,
|
initial_velocity: self.initial_velocity,
|
||||||
params: spring.params,
|
params: spring.params,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user