diff options
| author | Maze Winther <mazewinther@gmail.com> | 2026-02-27 20:34:33 +0100 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2026-02-27 20:34:33 +0100 |
| commit | 6226ceb0526047dff1dd957d38a77f36b75e1bfc (patch) | |
| tree | ea58f914d1aff79097d08f76afe366e1450c7186 /apps/web/src/lib/animation/keyframe-query.ts | |
| parent | cb8f0034782a04556c7a0aa45a64c478eb645e0f (diff) | |
| download | opencut-6226ceb0526047dff1dd957d38a77f36b75e1bfc.tar.gz | |
fix coderabbit issues
Diffstat (limited to 'apps/web/src/lib/animation/keyframe-query.ts')
| -rw-r--r-- | apps/web/src/lib/animation/keyframe-query.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/web/src/lib/animation/keyframe-query.ts b/apps/web/src/lib/animation/keyframe-query.ts index f3288e7a..6626e3e8 100644 --- a/apps/web/src/lib/animation/keyframe-query.ts +++ b/apps/web/src/lib/animation/keyframe-query.ts @@ -54,7 +54,7 @@ export function getKeyframeAtTime({ const channel = animations?.channels[propertyPath]; if (!channel || channel.keyframes.length === 0) return null; const keyframe = channel.keyframes.find( - (kf) => Math.abs(kf.time - time) <= TIME_EPSILON_SECONDS, + (keyframe) => Math.abs(keyframe.time - time) <= TIME_EPSILON_SECONDS, ); if (!keyframe) return null; return { |
