Comparing version 0.3.15 to 0.3.16
{ | ||
"name": "tina", | ||
"version": "0.3.15", | ||
"version": "0.3.16", | ||
"description": "Tweening and INterpolations for Animation", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -164,2 +164,8 @@ /** @class */ | ||
if (timeOffset === undefined || timeOffset === null) { | ||
timeOffset = 0; | ||
} | ||
this._startTime = this._player._time - timeOffset; | ||
if (this._player._add(this) === false) { | ||
@@ -170,7 +176,2 @@ // Could not be added to player | ||
if (timeOffset === undefined || timeOffset === null) { | ||
timeOffset = 0; | ||
} | ||
this._startTime = this._player._time - timeOffset; | ||
return this; | ||
@@ -187,4 +188,3 @@ }; | ||
if (this._player === null) { | ||
console.warn('[Playable.stop] Trying to stop a playable that was never started.'); | ||
return; | ||
return this; | ||
} | ||
@@ -191,0 +191,0 @@ |
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
770960
8435