From 4e86f8dd3a22dbefde5b9db096fbd166f155c065 Mon Sep 17 00:00:00 2001 From: Matt Perry Date: Tue, 12 Mar 2024 14:55:27 +0100 Subject: [PATCH] Adding support for backgroundPositionX/Y default value types --- packages/framer-motion/src/render/dom/value-types/number.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/framer-motion/src/render/dom/value-types/number.ts b/packages/framer-motion/src/render/dom/value-types/number.ts index d5029c0475..c7cd48da78 100644 --- a/packages/framer-motion/src/render/dom/value-types/number.ts +++ b/packages/framer-motion/src/render/dom/value-types/number.ts @@ -72,6 +72,8 @@ export const numberValueTypes: ValueTypeMap = { // Misc zIndex: int, + backgroundPositionX: px, + backgroundPositionY: px, // SVG fillOpacity: alpha,