@akashic-extension/akashic-timeline
Advanced tools
Comparing version 3.2.0 to 3.2.1
@@ -384,7 +384,8 @@ "use strict"; | ||
case ActionType_1.ActionType.Every: | ||
var progress = action.easing(action.elapsed, 0, 1, action.duration); | ||
var elapsed = Math.min(action.elapsed, action.duration); | ||
var progress = action.easing(elapsed, 0, 1, action.duration); | ||
if (progress > 1) { | ||
progress = 1; | ||
} | ||
action.func.call(this._target, action.elapsed, progress); | ||
action.func.call(this._target, elapsed, progress); | ||
break; | ||
@@ -391,0 +392,0 @@ case ActionType_1.ActionType.TweenTo: |
{ | ||
"name": "@akashic-extension/akashic-timeline", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"description": "timeline library for akashic", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
63605
1508