diff options
| author | Sophie Zhang <sophie_zhang@brown.edu> | 2024-05-14 13:37:58 -0400 |
|---|---|---|
| committer | Sophie Zhang <sophie_zhang@brown.edu> | 2024-05-14 13:37:58 -0400 |
| commit | 0201c8b4d52932760d87686424cdc0a4d39e60bd (patch) | |
| tree | f938733e4780dc01a810fa87f5ce751f58df2d6a /src/client/views/nodes/trails/SlideEffect.tsx | |
| parent | 255495874b3fd2644cf05f330d15194318adcc55 (diff) | |
cleaning, bug fixing
Diffstat (limited to 'src/client/views/nodes/trails/SlideEffect.tsx')
| -rw-r--r-- | src/client/views/nodes/trails/SlideEffect.tsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/views/nodes/trails/SlideEffect.tsx b/src/client/views/nodes/trails/SlideEffect.tsx index e04f53f06..db2ac1ea0 100644 --- a/src/client/views/nodes/trails/SlideEffect.tsx +++ b/src/client/views/nodes/trails/SlideEffect.tsx @@ -27,7 +27,10 @@ const infiniteOptions = { delay: 500, }; -// TODO: add visibility detector when the slide comes into view +/** + * This component wraps around the doc to create an effect animation, and also wraps the preview animations + * for the effects as well. + */ export default function SpringAnimation({ doc, dir, friction, tension, mass, presEffect, children, infinite }: Props) { const [springs, api] = useSpring( () => ({ |
