Commit cf30ff8
committed
feat(studio): smooth gesture recordings + editable easeEach in Animation panel
Gesture recordings now go through Gaussian smoothing (radius 3) before
commit, eliminating jitter while preserving motion shape. The Animation
panel's Speed dropdown writes easeEach for keyframed tweens (ease for flat
tweens), and the selected preset highlights correctly.
Fixed a fetch-cancellation race in useGsapAnimationsForElement — the
target object reference in useEffect deps was unstable across re-renders,
causing cleanup to cancel in-flight API calls before results arrived.
Switched deps to target?.id and target?.selector primitives.
Also adds a cache-buster query param on the gsap-animations fetch to
prevent stale HTTP-cached responses after mutations.1 parent b651a9d commit cf30ff8
18 files changed
Lines changed: 149 additions & 684 deletions
File tree
- docs
- packages
- packages
- core/src
- parsers
- runtime
- studio-api/routes
- studio/src
- components/editor
- hooks
- utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
93 | 92 | | |
94 | | - | |
95 | 93 | | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | 94 | | |
100 | 95 | | |
101 | | - | |
102 | 96 | | |
103 | 97 | | |
104 | 98 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
305 | | - | |
306 | 305 | | |
307 | 306 | | |
308 | 307 | | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | 308 | | |
313 | 309 | | |
314 | 310 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | 82 | | |
86 | 83 | | |
87 | 84 | | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | 85 | | |
92 | 86 | | |
93 | 87 | | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | 88 | | |
104 | 89 | | |
105 | 90 | | |
| |||
This file was deleted.
This file was deleted.
0 commit comments