@motionone/svelte
Advanced tools
Comparing version 10.6.0-rc.1 to 10.6.0-rc.3
@@ -712,2 +712,3 @@ function noop$1() { } | ||
let t = (timestamp - this.startTime) * this.rate; | ||
console.log(timestamp, this.startTime, t); | ||
this.t = t; | ||
@@ -766,3 +767,3 @@ // Convert to seconds | ||
else if (this.playState !== "idle") { | ||
requestAnimationFrame(this.tick); | ||
this.frameRequestId = requestAnimationFrame(this.tick); | ||
} | ||
@@ -795,4 +796,8 @@ }; | ||
this.playState = "idle"; | ||
console.log("cancelling with timestamp ", this.cancelTimestamp); | ||
this.tick(this.cancelTimestamp); | ||
(_a = this.reject) === null || _a === void 0 ? void 0 : _a.call(this, false); | ||
if (this.frameRequestId !== undefined) { | ||
cancelAnimationFrame(this.frameRequestId); | ||
} | ||
} | ||
@@ -799,0 +804,0 @@ reverse() { |
{ | ||
"name": "@motionone/svelte", | ||
"version": "10.6.0-rc.1", | ||
"version": "10.6.0-rc.3", | ||
"description": "A tiny, performant animation library for Svelte", | ||
@@ -17,3 +17,3 @@ "author": "Matt Perry", | ||
"dependencies": { | ||
"@motionone/dom": "^10.6.0-rc.1", | ||
"@motionone/dom": "^10.6.0-rc.3", | ||
"tslib": "^2.3.1" | ||
@@ -34,3 +34,3 @@ }, | ||
}, | ||
"gitHead": "9c905aa4610011855bfd7827758f9c43f4929c0c" | ||
"gitHead": "c9135fae71260b5057ea6875eb103451894f3385" | ||
} |
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
236047
1581
Updated@motionone/dom@^10.6.0-rc.3