Skip to content

Commit 1932f9f

Browse files
committed
style(parsers): fit the hold helper's doc in four lines
1 parent ec825df commit 1932f9f

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎packages/parsers/src/gsapConstants.ts‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,8 @@ function knownStart(animation: GsapAnimation): number | undefined {
115115
}
116116

117117
/**
118-
* The position a Studio hold must pin from t=0 for a keyframed tween that starts later: its first
119-
* keyframe's position props, minus any an earlier tween on the same target already writes. A global
120-
* `gsap.set` is a base value, like CSS, so the hold still overrides it.
118+
* What a Studio hold pins from t=0 before a later keyframed tween: its first keyframe's position props,
119+
* minus those an earlier timeline tween on the target writes (a global `gsap.set` is a base value).
121120
*/
122121
export function positionHoldForAnimation(
123122
animation: GsapAnimation,

0 commit comments

Comments
 (0)