Skip to content

Commit 55c8f8e

Browse files
Remove redundant comment from inertia bounds check
Co-authored-by: Cursor <[email protected]>
1 parent 75ecd89 commit 55c8f8e

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • packages/motion-dom/src/animation/generators

‎packages/motion-dom/src/animation/generators/inertia.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ export function inertia({
2525
value: origin,
2626
}
2727

28-
// Comparisons against undefined are always false, so unset boundaries never match
2928
const isOutOfBounds = (v: number) => v < min! || v > max!
3029

3130
const nearestBoundary = (v: number) => {

0 commit comments

Comments
 (0)