Skip to content

Commit

Permalink
Adding comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgperry committed Dec 16, 2022
1 parent 4f408cd commit 67fe861
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/framer-motion/src/animation/waapi/easing.ts
Expand Up @@ -2,8 +2,8 @@ import { BezierDefinition, Easing, EasingDefinition } from "../../easing/types"

export function isWaapiSupportedEasing(easing?: Easing | Easing[]) {
return (
!easing ||
Array.isArray(easing) ||
!easing || // Default easing
Array.isArray(easing) || // Bezier curve
(typeof easing === "string" && supportedWaapiEasing[easing])
)
}
Expand Down

0 comments on commit 67fe861

Please sign in to comment.