From 67fe861f2263a8fff18bd161f5043895e4577d20 Mon Sep 17 00:00:00 2001 From: Matt Perry Date: Fri, 16 Dec 2022 15:54:45 +0100 Subject: [PATCH] Adding comment --- packages/framer-motion/src/animation/waapi/easing.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/framer-motion/src/animation/waapi/easing.ts b/packages/framer-motion/src/animation/waapi/easing.ts index a2567f53ec..47741bff6b 100644 --- a/packages/framer-motion/src/animation/waapi/easing.ts +++ b/packages/framer-motion/src/animation/waapi/easing.ts @@ -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]) ) }