summaryrefslogtreecommitdiff
path: root/apps/web/src/lib/animation
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2026-02-27 20:34:33 +0100
committerMaze Winther <mazewinther@gmail.com>2026-02-27 20:34:33 +0100
commit6226ceb0526047dff1dd957d38a77f36b75e1bfc (patch)
treeea58f914d1aff79097d08f76afe366e1450c7186 /apps/web/src/lib/animation
parentcb8f0034782a04556c7a0aa45a64c478eb645e0f (diff)
downloadopencut-6226ceb0526047dff1dd957d38a77f36b75e1bfc.tar.gz
fix coderabbit issues
Diffstat (limited to 'apps/web/src/lib/animation')
-rw-r--r--apps/web/src/lib/animation/keyframe-query.ts2
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 {