@tweenjs/tween.js
Advanced tools
Comparing version 17.1.0 to 17.1.1
{ | ||
"name": "@tweenjs/tween.js", | ||
"description": "Super simple, fast and easy to use tweening engine which incorporates optimised Robert Penner's equations.", | ||
"version": "17.1.0", | ||
"version": "17.1.1", | ||
"main": "src/Tween.js", | ||
@@ -6,0 +6,0 @@ "homepage": "https://github.com/tweenjs/tween.js", |
@@ -57,3 +57,3 @@ /** | ||
// new tween will be updated in the next batch. | ||
// If you remove a tween during an update, it will normally still be updated. However, | ||
// If you remove a tween during an update, it may or may not be updated. However, | ||
// if the removed tween was added during the current batch, then it will not be updated. | ||
@@ -65,5 +65,7 @@ while (tweenIds.length > 0) { | ||
if (this._tweens[tweenIds[i]].update(time) === false) { | ||
this._tweens[tweenIds[i]]._isPlaying = false; | ||
var tween = this._tweens[tweenIds[i]]; | ||
if (tween && tween.update(time) === false) { | ||
tween._isPlaying = false; | ||
if (!preserve) { | ||
@@ -70,0 +72,0 @@ delete this._tweens[tweenIds[i]]; |
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
35034
605