Skip to content

Commit

Permalink
feat: pass the tweened object to the onRepeat callback
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebolt committed May 27, 2019
1 parent 23c935e commit 51abe77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tween.js
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ TWEEN.Tween.prototype = {
}

if (this._onRepeatCallback !== null) {
this._onRepeatCallback();
this._onRepeatCallback(this._object);
}

return true;
Expand Down

0 comments on commit 51abe77

Please sign in to comment.