From ea55659c15031fc4edc717b7c900f8d3f029f2f8 Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Wed, 15 May 2024 10:02:52 -0400
Subject: Make pres aniamtions last as long as their transition time

---
 src/client/views/nodes/trails/SlideEffect.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/client/views/nodes/trails/SlideEffect.tsx')

diff --git a/src/client/views/nodes/trails/SlideEffect.tsx b/src/client/views/nodes/trails/SlideEffect.tsx
index e1cf9b127..bad1fd8fa 100644
--- a/src/client/views/nodes/trails/SlideEffect.tsx
+++ b/src/client/views/nodes/trails/SlideEffect.tsx
@@ -41,9 +41,9 @@ export default function SpringAnimation({ doc, dir, friction, tension, mass, pre
                 scale: 1,
             },
             config: {
-                tension: tension,
-                friction: friction,
-                mass: mass,
+                tension,
+                friction,
+                mass,
             },
             onStart: () => {},
             onRest: () => {},
-- 
cgit v1.2.3-70-g09d2

