@motionone/dom
Advanced tools
Comparing version 10.7.0 to 10.7.1
@@ -14,3 +14,3 @@ 'use strict'; | ||
if (easing) { | ||
const maxDelay = total * i; | ||
const maxDelay = total * duration; | ||
const easingFunction = animation.getEasingFunction(easing); | ||
@@ -17,0 +17,0 @@ delay = easingFunction(delay / maxDelay) * maxDelay; |
@@ -10,3 +10,3 @@ import { isNumber } from '@motionone/utils'; | ||
if (easing) { | ||
const maxDelay = total * i; | ||
const maxDelay = total * duration; | ||
const easingFunction = getEasingFunction(easing); | ||
@@ -13,0 +13,0 @@ delay = easingFunction(delay / maxDelay) * maxDelay; |
@@ -9,3 +9,3 @@ import { isNumber } from "@motionone/utils"; | ||
if (easing) { | ||
const maxDelay = total * i; | ||
const maxDelay = total * duration; | ||
const easingFunction = getEasingFunction(easing); | ||
@@ -12,0 +12,0 @@ delay = easingFunction(delay / maxDelay) * maxDelay; |
{ | ||
"name": "@motionone/dom", | ||
"version": "10.7.0", | ||
"version": "10.7.1", | ||
"description": "A tiny, performant animation library for the DOM", | ||
@@ -51,3 +51,3 @@ "license": "MIT", | ||
], | ||
"gitHead": "d1842ead7b1320c511a4558527a6dec65b4f5d6e" | ||
"gitHead": "9a1936a0b6f9242295ab51f180b86fbfc5c3c47d" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
271570