(anim: GsapAnimation)
| 166 | // Studio-internal markers that aren't user motion: the position-hold `set` GSAP |
| 167 | // runs before a keyframed position tween (`data: "hf-hold"`). |
| 168 | function isHoldMarker(anim: GsapAnimation): boolean { |
| 169 | return anim.properties?.data === "hf-hold" || anim.fromProperties?.data === "hf-hold"; |
| 170 | } |
| 171 | |
| 172 | // Drop internal / non-visual keys so they don't pollute the surfaced keyframes. |
| 173 | function cleanProps(props: Record<string, number | string>): Record<string, number | string> { |
no outgoing calls
no test coverage detected